#CB6AFE#CB6AFE

#CB6AFE is a light, highly saturated violet. Relative luminance 0.302; OKLCH L 69.7% C 0.221 H 312.3°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#CB6AFE
RGBrgb(203, 106, 254)
HSLhsl(279, 99%, 71%)
HSVhsv(279, 58%, 100%)
CMYKcmyk(20.1%, 58.3%, 0%, 0.4%)
CIE-LABlab(61.79, 61.94, -58.35)
CIE-LCHlch(61.79, 85.10, 316.71°)
OKLaboklab(69.71% 0.149 -0.1638)
OKLCHoklch(69.71% 0.221 312.3)
XYZxyz(47.6689, 30.1615, 97.0574)
Luminance0.3016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB6AFE #9DFE6A
analogous
#816AFE #CB6AFE #FE6AE7
triadic
#CB6AFE #FECB6A #6AFECB
tetradic
#CB6AFE #FE816A #9DFE6A #6AE7FE
square
#CB6AFE #FE816A #9DFE6A #6AE7FE
split-complementary
#CB6AFE #E7FE6A #6AFE81
monochromatic
#9B02EC #B62DFE #CB6AFE #E0A7FE #F4E1FF

Accessibility & contrast

On white

2.99
#CB6AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#CB6AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB6AFE
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB6AFE#FFFFFF#000000##000000
##CB6AFE1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3890FF
Deuteranopia (green-blind)
#6097FA
Tritanopia (blue-blind)
#C685AA
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cb6afe;
/* rgb */ color: rgb(203, 106, 254);
/* oklch */ color: oklch(69.7% 0.221 312.3);
Tailwind
colors: {
  custom: {
    50: '#de99ff',
    500: '#cb6afe',
    950: '#000000',
  },
}
SCSS
$custom: #cb6afe;
$custom-light: #de99ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb6afe",
  "rgb": {
    "r": 203,
    "g": 106,
    "b": 254
  },
  "hsl": {
    "h": 279.324,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69708,
    "c": 0.22147,
    "h": 312.3
  },
  "luminance": 0.3016
}

Semantic roles & 50–950 ramp

primary
#CB6AFE
secondary
#DCF6CE
accent
#E6004F
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #CB6AFE

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CB6AFE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva