#B97DFD
A color in the Violet family
#b97dfd is a color in the Violet family: RGB(185, 125, 253), HSL(268°, 97%, 74%), CMYK(27%, 51%, 0%, 1%). Closest named color: orchid. Contrast is 2.83:1 on white and 7.41:1 on black. See shades, harmonies and color-blindness simulation.
Color Codes
| HEX | #b97dfd |
|---|---|
| RGB | rgb(185 125 253) |
| RGB (legacy) | rgb(185, 125, 253) |
| RGB % | rgb(73% 49% 99%) |
| HSL | hsl(268 97% 74%) |
| HSV / HSB | hsv(268, 51%, 99%) |
| HWB | hwb(268 49% 1%) |
| CMYK | cmyk(27%, 51%, 0%, 1%) |
| CIELAB (D50) | lab(62.89 42.29 -55.82) |
| LCH | lch(62.89 70.03 307.15) |
| OKLab | oklab(0.7043 0.1035 -0.1556) |
| OKLCH | oklch(0.7043 0.1869 303.62) |
| Decimal | 12156413 |
Properties
| Color Tone | Violet |
|---|---|
| Closest named color | orchid ΔE 8 |
| Closest web-safe color | #cc66ff |
| Hue | 268° |
| Saturation (HSL / HSV) | 97% / 51% |
| Lightness (HSL) | 74% |
| Brightness or Value (HSV) | 99% |
| Luminance (Rec.601 / Rec.709) | 62% / 58% |
| Relative luminance (WCAG) | 0.3207 |
| Red / Green / Blue | 185 / 125 / 253 |
WCAG 2.2 Contrast Ratio
On White (#ffffff)
2.83:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
7.41:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123
APCA Contrast Lc (reference) — As text on white / black: Lc 54.1 / -47.8 · As background with white / black text: Lc -59.3 / 50
Lightness Scale (OKLCH 50–950)
Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.
Tints (mixed with white)
Shades (mixed with black)
Color Harmonies
Complementary
Split Complementary
Analogous
Color Vision Deficiency Simulation
Estimated appearance of this color for people with color vision deficiencies (Machado 2009).
Similar Named Colors
Use in CSS
:root {
--color-brand: #b97dfd;
--color-brand-oklch: oklch(70.43% 0.1869 303.62);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(185 125 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b97dfd] text-[#b97dfd] border-[#b97dfd]">