#CB6EFE#CB6EFE

#CB6EFE is a light, highly saturated violet. Relative luminance 0.310; OKLCH L 70.2% C 0.216 H 311.9°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#CB6EFE
RGBrgb(203, 110, 254)
HSLhsl(279, 99%, 71%)
HSVhsv(279, 57%, 100%)
CMYKcmyk(20.1%, 56.7%, 0%, 0.4%)
CIE-LABlab(62.51, 60.01, -57.21)
CIE-LCHlch(62.51, 82.91, 316.37°)
OKLaboklab(70.23% 0.1442 -0.1605)
OKLCHoklch(70.23% 0.216 311.9)
XYZxyz(48.0907, 31.0053, 97.1980)
Luminance0.3100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB6EFE #A1FE6E
analogous
#836EFE #CB6EFE #FE6EE9
triadic
#CB6EFE #FECB6E #6EFECB
tetradic
#CB6EFE #FE836E #A1FE6E #6EE9FE
square
#CB6EFE #FE836E #A1FE6E #6EE9FE
split-complementary
#CB6EFE #E9FE6E #6EFE83
monochromatic
#9C02F0 #B531FE #CB6EFE #E1ABFE #F4E1FF

Accessibility & contrast

On white

2.92
#CB6EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#CB6EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB6EFE
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB6EFE#FFFFFF#000000##000000
##CB6EFE1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4092FF
Deuteranopia (green-blind)
#6499FA
Tritanopia (blue-blind)
#C588AC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb6efe;
/* rgb */ color: rgb(203, 110, 254);
/* oklch */ color: oklch(70.2% 0.216 311.9);
Tailwind
colors: {
  custom: {
    50: '#de9bff',
    500: '#cb6efe',
    950: '#000000',
  },
}
SCSS
$custom: #cb6efe;
$custom-light: #de9bff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb6efe",
  "rgb": {
    "r": 203,
    "g": 110,
    "b": 254
  },
  "hsl": {
    "h": 278.75,
    "s": 98.63,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70233,
    "c": 0.21573,
    "h": 311.9
  },
  "luminance": 0.31004
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB6EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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