#CB95EA#CB95EA

#CB95EA is a light, vivid violet. Relative luminance 0.401; OKLCH L 75.2% C 0.131 H 312.6°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#CB95EA
RGBrgb(203, 149, 234)
HSLhsl(278, 67%, 75%)
HSVhsv(278, 36%, 92%)
CMYKcmyk(13.2%, 36.3%, 0%, 8.2%)
CIE-LABlab(69.56, 35.42, -35.12)
CIE-LCHlch(69.56, 49.88, 315.24°)
OKLaboklab(75.18% 0.0889 -0.0967)
OKLCHoklch(75.18% 0.131 312.6)
XYZxyz(50.2248, 40.1328, 82.9265)
Luminance0.4013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB95EA #B4EA95
analogous
#A195EA #CB95EA #EA95DE
triadic
#CB95EA #EACB95 #95EACB
tetradic
#CB95EA #EAA195 #B4EA95 #95DEEA
square
#CB95EA #EAA195 #B4EA95 #95DEEA
split-complementary
#CB95EA #DEEA95 #95EAA1
monochromatic
#992FD6 #B262E0 #CB95EA #E4C8F4 #F2E5FA

Accessibility & contrast

On white

2.33
#CB95EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#CB95EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB95EA
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB95EA#FFFFFF#000000##000000
##CB95EA1.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A7ED
Deuteranopia (green-blind)
#93ABE8
Tritanopia (blue-blind)
#C8A1B5
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cb95ea;
/* rgb */ color: rgb(203, 149, 234);
/* oklch */ color: oklch(75.2% 0.131 312.6);
Tailwind
colors: {
  custom: {
    50: '#dcb5f1',
    500: '#cb95ea',
    950: '#000000',
  },
}
SCSS
$custom: #cb95ea;
$custom-light: #dcb5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb95ea",
  "rgb": {
    "r": 203,
    "g": 149,
    "b": 234
  },
  "hsl": {
    "h": 278.118,
    "s": 66.929,
    "l": 75.098
  },
  "oklch": {
    "l": 0.75179,
    "c": 0.13137,
    "h": 312.6
  },
  "luminance": 0.40132
}

Semantic roles & 50–950 ramp

primary
#CB95EA
secondary
#E2F1DA
accent
#CF175A
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CB95EA

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

Preview Lab → · Contrast checker → · Palette generator →

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