#CB95EF#CB95EF

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

Color values

HEX#CB95EF
RGBrgb(203, 149, 239)
HSLhsl(276, 74%, 76%)
HSVhsv(276, 38%, 94%)
CMYKcmyk(15.1%, 37.7%, 0%, 6.3%)
CIE-LABlab(69.77, 36.48, -37.54)
CIE-LCHlch(69.77, 52.34, 314.18°)
OKLaboklab(75.4% 0.09 -0.1037)
OKLCHoklch(75.4% 0.137 310.9)
XYZxyz(50.9533, 40.4242, 86.7630)
Luminance0.4042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB95EF #B9EF95
analogous
#9E95EF #CB95EF #EF95E6
triadic
#CB95EF #EFCB95 #95EFCB
tetradic
#CB95EF #EF9E95 #B9EF95 #95E6EF
square
#CB95EF #EF9E95 #B9EF95 #95E6EF
split-complementary
#CB95EF #E6EF95 #95EF9E
monochromatic
#972BDF #B160E7 #CB95EF #E5CAF7 #F2E4FB

Accessibility & contrast

On white

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

On black

9.08
#CB95EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB95EF
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB95EF#FFFFFF#000000##000000
##CB95EF1.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A8F2
Deuteranopia (green-blind)
#91ACEC
Tritanopia (blue-blind)
#C7A2B7
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cb95ef;
/* rgb */ color: rgb(203, 149, 239);
/* oklch */ color: oklch(75.4% 0.137 310.9);
Tailwind
colors: {
  custom: {
    50: '#dcb5f4',
    500: '#cb95ef',
    950: '#000000',
  },
}
SCSS
$custom: #cb95ef;
$custom-light: #dcb5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb95ef",
  "rgb": {
    "r": 203,
    "g": 149,
    "b": 239
  },
  "hsl": {
    "h": 276,
    "s": 73.77,
    "l": 76.078
  },
  "oklch": {
    "l": 0.75403,
    "c": 0.13726,
    "h": 310.9
  },
  "luminance": 0.40423
}

Semantic roles & 50–950 ramp

primary
#CB95EF
secondary
#E3F3D8
accent
#D6105F
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CB95EF

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

Preview Lab → · Contrast checker → · Palette generator →

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