#CB6EFF#CB6EFF

#CB6EFF is a light, highly saturated violet. Relative luminance 0.311; OKLCH L 70.3% C 0.217 H 311.7°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#CB6EFF
RGBrgb(203, 110, 255)
HSLhsl(278, 100%, 72%)
HSVhsv(278, 57%, 100%)
CMYKcmyk(20.4%, 56.9%, 0%, 0%)
CIE-LABlab(62.57, 60.22, -57.67)
CIE-LCHlch(62.57, 83.38, 316.24°)
OKLaboklab(70.29% 0.1442 -0.1619)
OKLCHoklch(70.29% 0.217 311.7)
XYZxyz(48.2513, 31.0695, 98.0436)
Luminance0.3107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB6EFF #A2FF6E
analogous
#836EFF #CB6EFF #FF6EEA
triadic
#CB6EFF #FFCB6E #6EFFCB
tetradic
#CB6EFF #FF836E #A2FF6E #6EEAFF
square
#CB6EFF #FF836E #A2FF6E #6EEAFF
split-complementary
#CB6EFF #EAFF6E #6EFF83
monochromatic
#9C00F3 #B531FF #CB6EFF #E1ABFF #F4E0FF

Accessibility & contrast

On white

2.91
#CB6EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#CB6EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB6EFF
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB6EFF#FFFFFF#000000##000000
##CB6EFF1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F93FF
Deuteranopia (green-blind)
#6399FB
Tritanopia (blue-blind)
#C588AC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb6eff;
/* rgb */ color: rgb(203, 110, 255);
/* oklch */ color: oklch(70.3% 0.217 311.7);
Tailwind
colors: {
  custom: {
    50: '#de9bff',
    500: '#cb6eff',
    950: '#000000',
  },
}
SCSS
$custom: #cb6eff;
$custom-light: #de9bff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb6eff",
  "rgb": {
    "r": 203,
    "g": 110,
    "b": 255
  },
  "hsl": {
    "h": 278.483,
    "s": 100,
    "l": 71.569
  },
  "oklch": {
    "l": 0.7029,
    "c": 0.21676,
    "h": 311.7
  },
  "luminance": 0.31068
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB6EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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