#CB6BFE#CB6BFE

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

Color values

HEX#CB6BFE
RGBrgb(203, 107, 254)
HSLhsl(279, 99%, 71%)
HSVhsv(279, 58%, 100%)
CMYKcmyk(20.1%, 57.9%, 0%, 0.4%)
CIE-LABlab(61.97, 61.46, -58.07)
CIE-LCHlch(61.97, 84.55, 316.62°)
OKLaboklab(69.84% 0.1478 -0.163)
OKLCHoklch(69.84% 0.22 312.2)
XYZxyz(47.7725, 30.3688, 97.0919)
Luminance0.3037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB6BFE #9EFE6B
analogous
#816BFE #CB6BFE #FE6BE7
triadic
#CB6BFE #FECB6B #6BFECB
tetradic
#CB6BFE #FE816B #9EFE6B #6BE7FE
square
#CB6BFE #FE816B #9EFE6B #6BE7FE
split-complementary
#CB6BFE #E7FE6B #6BFE81
monochromatic
#9B02ED #B62EFE #CB6BFE #E0A8FE #F4E1FF

Accessibility & contrast

On white

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

On black

7.07
#CB6BFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB6BFE
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB6BFE#FFFFFF#000000##000000
##CB6BFE1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A91FF
Deuteranopia (green-blind)
#6198FA
Tritanopia (blue-blind)
#C585AB
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cb6bfe;
/* rgb */ color: rgb(203, 107, 254);
/* oklch */ color: oklch(69.8% 0.220 312.2);
Tailwind
colors: {
  custom: {
    50: '#de9aff',
    500: '#cb6bfe',
    950: '#000000',
  },
}
SCSS
$custom: #cb6bfe;
$custom-light: #de9aff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb6bfe",
  "rgb": {
    "r": 203,
    "g": 107,
    "b": 254
  },
  "hsl": {
    "h": 279.184,
    "s": 98.658,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69837,
    "c": 0.22005,
    "h": 312.2
  },
  "luminance": 0.30368
}

Semantic roles & 50–950 ramp

primary
#CB6BFE
secondary
#DCF6CF
accent
#E60050
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #CB6BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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