#CB94EA#CB94EA

#CB94EA is a light, vivid violet. Relative luminance 0.398; OKLCH L 75.0% C 0.133 H 312.7°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#CB94EA
RGBrgb(203, 148, 234)
HSLhsl(278, 67%, 75%)
HSVhsv(278, 37%, 92%)
CMYKcmyk(13.2%, 36.8%, 0%, 8.2%)
CIE-LABlab(69.34, 35.97, -35.47)
CIE-LCHlch(69.34, 50.51, 315.40°)
OKLaboklab(75.01% 0.0903 -0.0977)
OKLCHoklch(75.01% 0.133 312.7)
XYZxyz(50.0673, 39.8177, 82.8740)
Luminance0.3982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB94EA #B3EA94
analogous
#A094EA #CB94EA #EA94DE
triadic
#CB94EA #EACB94 #94EACB
tetradic
#CB94EA #EAA094 #B3EA94 #94DEEA
square
#CB94EA #EAA094 #B3EA94 #94DEEA
split-complementary
#CB94EA #DEEA94 #94EAA0
monochromatic
#992ED6 #B261E0 #CB94EA #E4C7F4 #F3E5FA

Accessibility & contrast

On white

2.34
#CB94EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#CB94EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB94EA
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB94EA#FFFFFF#000000##000000
##CB94EA1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A6ED
Deuteranopia (green-blind)
#92ABE7
Tritanopia (blue-blind)
#C8A0B4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cb94ea;
/* rgb */ color: rgb(203, 148, 234);
/* oklch */ color: oklch(75.0% 0.133 312.7);
Tailwind
colors: {
  custom: {
    50: '#dcb4f1',
    500: '#cb94ea',
    950: '#000000',
  },
}
SCSS
$custom: #cb94ea;
$custom-light: #dcb4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb94ea",
  "rgb": {
    "r": 203,
    "g": 148,
    "b": 234
  },
  "hsl": {
    "h": 278.372,
    "s": 67.187,
    "l": 74.902
  },
  "oklch": {
    "l": 0.75009,
    "c": 0.13308,
    "h": 312.7
  },
  "luminance": 0.39817
}

Semantic roles & 50–950 ramp

primary
#CB94EA
secondary
#E2F1DA
accent
#CF1659
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CB94EA

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

Preview Lab → · Contrast checker → · Palette generator →

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