#CB6DFE#CB6DFE

#CB6DFE is a light, highly saturated violet. Relative luminance 0.308; OKLCH L 70.1% C 0.217 H 312.0°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#CB6DFE
RGBrgb(203, 109, 254)
HSLhsl(279, 99%, 71%)
HSVhsv(279, 57%, 100%)
CMYKcmyk(20.1%, 57.1%, 0%, 0.4%)
CIE-LABlab(62.33, 60.49, -57.50)
CIE-LCHlch(62.33, 83.46, 316.46°)
OKLaboklab(70.1% 0.1454 -0.1613)
OKLCHoklch(70.1% 0.217 312)
XYZxyz(47.9834, 30.7907, 97.1622)
Luminance0.3079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB6DFE #A0FE6D
analogous
#826DFE #CB6DFE #FE6DE8
triadic
#CB6DFE #FECB6D #6DFECB
tetradic
#CB6DFE #FE826D #A0FE6D #6DE8FE
square
#CB6DFE #FE826D #A0FE6D #6DE8FE
split-complementary
#CB6DFE #E8FE6D #6DFE82
monochromatic
#9B02EF #B530FE #CB6DFE #E1AAFE #F4E1FF

Accessibility & contrast

On white

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

On black

7.16
#CB6DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB6DFE
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB6DFE#FFFFFF#000000##000000
##CB6DFE1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E92FF
Deuteranopia (green-blind)
#6399FA
Tritanopia (blue-blind)
#C587AB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb6dfe;
/* rgb */ color: rgb(203, 109, 254);
/* oklch */ color: oklch(70.1% 0.217 312.0);
Tailwind
colors: {
  custom: {
    50: '#de9bff',
    500: '#cb6dfe',
    950: '#000000',
  },
}
SCSS
$custom: #cb6dfe;
$custom-light: #de9bff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb6dfe",
  "rgb": {
    "r": 203,
    "g": 109,
    "b": 254
  },
  "hsl": {
    "h": 278.897,
    "s": 98.639,
    "l": 71.176
  },
  "oklch": {
    "l": 0.701,
    "c": 0.21718,
    "h": 312
  },
  "luminance": 0.3079
}

Semantic roles & 50–950 ramp

primary
#CB6DFE
secondary
#DEF6D0
accent
#E60051
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150E18
muted
#847E86

Preview Lab

Preview with #CB6DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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