#CB6EFC#CB6EFC

#CB6EFC is a light, highly saturated violet. Relative luminance 0.309; OKLCH L 70.1% C 0.214 H 312.4°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#CB6EFC
RGBrgb(203, 110, 252)
HSLhsl(279, 96%, 71%)
HSVhsv(279, 56%, 99%)
CMYKcmyk(19.4%, 56.3%, 0%, 1.2%)
CIE-LABlab(62.40, 59.59, -56.28)
CIE-LCHlch(62.40, 81.97, 316.64°)
OKLaboklab(70.12% 0.1441 -0.1578)
OKLCHoklch(70.12% 0.214 312.4)
XYZxyz(47.7721, 30.8778, 95.5200)
Luminance0.3088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB6EFC #9FFC6E
analogous
#846EFC #CB6EFC #FC6EE6
triadic
#CB6EFC #FCCB6E #6EFCCB
tetradic
#CB6EFC #FC846E #9FFC6E #6EE6FC
square
#CB6EFC #FC846E #9FFC6E #6EE6FC
split-complementary
#CB6EFC #E6FC6E #6EFC84
monochromatic
#9B05EB #B532FB #CB6EFC #E1AAFD #F4E1FE

Accessibility & contrast

On white

2.93
#CB6EFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#CB6EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB6EFC
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB6EFC#FFFFFF#000000##000000
##CB6EFC1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4392FF
Deuteranopia (green-blind)
#6699F8
Tritanopia (blue-blind)
#C687AB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb6efc;
/* rgb */ color: rgb(203, 110, 252);
/* oklch */ color: oklch(70.1% 0.214 312.4);
Tailwind
colors: {
  custom: {
    50: '#de9bfe',
    500: '#cb6efc',
    950: '#000000',
  },
}
SCSS
$custom: #cb6efc;
$custom-light: #de9bfe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb6efc",
  "rgb": {
    "r": 203,
    "g": 110,
    "b": 252
  },
  "hsl": {
    "h": 279.296,
    "s": 95.946,
    "l": 70.98
  },
  "oklch": {
    "l": 0.70119,
    "c": 0.21367,
    "h": 312.4
  },
  "luminance": 0.30877
}

Semantic roles & 50–950 ramp

primary
#CB6EFC
secondary
#DDF6D0
accent
#E6004F
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150E18
muted
#847E86

Preview Lab

Preview with #CB6EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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