#CB6DFF#CB6DFF

#CB6DFF is a light, highly saturated violet. Relative luminance 0.309; OKLCH L 70.2% C 0.218 H 311.8°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#CB6DFF
RGBrgb(203, 109, 255)
HSLhsl(279, 100%, 71%)
HSVhsv(279, 57%, 100%)
CMYKcmyk(20.4%, 57.3%, 0%, 0%)
CIE-LABlab(62.38, 60.70, -57.96)
CIE-LCHlch(62.38, 83.93, 316.32°)
OKLaboklab(70.16% 0.1454 -0.1627)
OKLCHoklch(70.16% 0.218 311.8)
XYZxyz(48.1440, 30.8549, 98.0078)
Luminance0.3085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB6DFF #A1FF6D
analogous
#826DFF #CB6DFF #FF6DEA
triadic
#CB6DFF #FFCB6D #6DFFCB
tetradic
#CB6DFF #FF826D #A1FF6D #6DEAFF
square
#CB6DFF #FF826D #A1FF6D #6DEAFF
split-complementary
#CB6DFF #EAFF6D #6DFF82
monochromatic
#9C00F2 #B530FF #CB6DFF #E1AAFF #F4E0FF

Accessibility & contrast

On white

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

On black

7.17
#CB6DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB6DFF
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB6DFF#FFFFFF#000000##000000
##CB6DFF1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D92FF
Deuteranopia (green-blind)
#6299FB
Tritanopia (blue-blind)
#C587AC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb6dff;
/* rgb */ color: rgb(203, 109, 255);
/* oklch */ color: oklch(70.2% 0.218 311.8);
Tailwind
colors: {
  custom: {
    50: '#de9bff',
    500: '#cb6dff',
    950: '#000000',
  },
}
SCSS
$custom: #cb6dff;
$custom-light: #de9bff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb6dff",
  "rgb": {
    "r": 203,
    "g": 109,
    "b": 255
  },
  "hsl": {
    "h": 278.63,
    "s": 100,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70157,
    "c": 0.2182,
    "h": 311.8
  },
  "luminance": 0.30854
}

Semantic roles & 50–950 ramp

primary
#CB6DFF
secondary
#DEF7D1
accent
#E60052
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150E18
muted
#847E86

Preview Lab

Preview with #CB6DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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