#CB6CFB#CB6CFB

#CB6CFB is a light, highly saturated violet. Relative luminance 0.304; OKLCH L 69.8% C 0.216 H 312.8°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#CB6CFB
RGBrgb(203, 108, 251)
HSLhsl(280, 95%, 70%)
HSVhsv(280, 57%, 98%)
CMYKcmyk(19.1%, 57%, 0%, 1.6%)
CIE-LABlab(61.99, 60.36, -56.39)
CIE-LCHlch(61.99, 82.60, 316.94°)
OKLaboklab(69.8% 0.1465 -0.1581)
OKLCHoklch(69.8% 0.216 312.8)
XYZxyz(47.4007, 30.3879, 94.6166)
Luminance0.3039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB6CFB #9CFB6C
analogous
#836CFB #CB6CFB #FB6CE4
triadic
#CB6CFB #FBCB6C #6CFBCB
tetradic
#CB6CFB #FB836C #9CFB6C #6CE4FB
square
#CB6CFB #FB836C #9CFB6C #6CE4FB
split-complementary
#CB6CFB #E4FB6C #6CFB83
monochromatic
#9B06E6 #B630F9 #CB6CFB #E0A8FD #F4E1FE

Accessibility & contrast

On white

2.97
#CB6CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#CB6CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB6CFB
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB6CFB#FFFFFF#000000##000000
##CB6CFB1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4091FF
Deuteranopia (green-blind)
#6498F7
Tritanopia (blue-blind)
#C685AA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cb6cfb;
/* rgb */ color: rgb(203, 108, 251);
/* oklch */ color: oklch(69.8% 0.216 312.8);
Tailwind
colors: {
  custom: {
    50: '#de9afd',
    500: '#cb6cfb',
    950: '#000000',
  },
}
SCSS
$custom: #cb6cfb;
$custom-light: #de9afd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb6cfb",
  "rgb": {
    "r": 203,
    "g": 108,
    "b": 251
  },
  "hsl": {
    "h": 279.86,
    "s": 94.702,
    "l": 70.392
  },
  "oklch": {
    "l": 0.69797,
    "c": 0.21556,
    "h": 312.8
  },
  "luminance": 0.30387
}

Semantic roles & 50–950 ramp

primary
#CB6CFB
secondary
#DBF5CE
accent
#E6004D
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150E18
muted
#847E86

Preview Lab

Preview with #CB6CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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