#CB95EE#CB95EE

#CB95EE is a light, vivid violet. Relative luminance 0.404; OKLCH L 75.4% C 0.136 H 311.3°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#CB95EE
RGBrgb(203, 149, 238)
HSLhsl(276, 72%, 76%)
HSVhsv(276, 37%, 93%)
CMYKcmyk(14.7%, 37.4%, 0%, 6.7%)
CIE-LABlab(69.73, 36.26, -37.06)
CIE-LCHlch(69.73, 51.85, 314.38°)
OKLaboklab(75.36% 0.0898 -0.1023)
OKLCHoklch(75.36% 0.136 311.3)
XYZxyz(50.8060, 40.3652, 85.9872)
Luminance0.4036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB95EE #B8EE95
analogous
#9E95EE #CB95EE #EE95E5
triadic
#CB95EE #EECB95 #95EECB
tetradic
#CB95EE #EE9E95 #B8EE95 #95E5EE
square
#CB95EE #EE9E95 #B8EE95 #95E5EE
split-complementary
#CB95EE #E5EE95 #95EE9E
monochromatic
#972CDD #B160E6 #CB95EE #E5CAF6 #F2E5FB

Accessibility & contrast

On white

2.31
#CB95EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#CB95EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB95EE
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB95EE#FFFFFF#000000##000000
##CB95EE1.002.319.079.07
#FFFFFF2.311.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A8F1
Deuteranopia (green-blind)
#91ACEB
Tritanopia (blue-blind)
#C7A2B6
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cb95ee;
/* rgb */ color: rgb(203, 149, 238);
/* oklch */ color: oklch(75.4% 0.136 311.3);
Tailwind
colors: {
  custom: {
    50: '#dcb5f4',
    500: '#cb95ee',
    950: '#000000',
  },
}
SCSS
$custom: #cb95ee;
$custom-light: #dcb5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb95ee",
  "rgb": {
    "r": 203,
    "g": 149,
    "b": 238
  },
  "hsl": {
    "h": 276.404,
    "s": 72.358,
    "l": 75.882
  },
  "oklch": {
    "l": 0.75358,
    "c": 0.13608,
    "h": 311.3
  },
  "luminance": 0.40364
}

Semantic roles & 50–950 ramp

primary
#CB95EE
secondary
#E3F2D9
accent
#D4115E
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CB95EE

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

Preview Lab → · Contrast checker → · Palette generator →

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