#CB9FEF#CB9FEF

#CB9FEF is a light, vivid violet. Relative luminance 0.437; OKLCH L 77.1% C 0.120 H 309.0°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#CB9FEF
RGBrgb(203, 159, 239)
HSLhsl(273, 71%, 78%)
HSVhsv(273, 33%, 94%)
CMYKcmyk(15.1%, 33.5%, 0%, 6.3%)
CIE-LABlab(72.04, 31.01, -34.01)
CIE-LCHlch(72.04, 46.03, 312.36°)
OKLaboklab(77.13% 0.0757 -0.0936)
OKLCHoklch(77.13% 0.12 309)
XYZxyz(52.6039, 43.7253, 87.3132)
Luminance0.4373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9FEF #C3EF9F
analogous
#A39FEF #CB9FEF #EF9FEB
triadic
#CB9FEF #EFCB9F #9FEFCB
tetradic
#CB9FEF #EFA39F #C3EF9F #9FEBEF
square
#CB9FEF #EFA39F #C3EF9F #9FEBEF
split-complementary
#CB9FEF #EBEF9F #9FEFA3
monochromatic
#9236DE #AF6BE6 #CB9FEF #E7D3F8 #F1E5FB

Accessibility & contrast

On white

2.15
#CB9FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#CB9FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9FEF
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9FEF#FFFFFF#000000##000000
##CB9FEF1.002.159.749.74
#FFFFFF2.151.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#90AFF2
Deuteranopia (green-blind)
#9AB1ED
Tritanopia (blue-blind)
#C7AABC
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cb9fef;
/* rgb */ color: rgb(203, 159, 239);
/* oklch */ color: oklch(77.1% 0.120 309.0);
Tailwind
colors: {
  custom: {
    50: '#dcbcf4',
    500: '#cb9fef',
    950: '#000000',
  },
}
SCSS
$custom: #cb9fef;
$custom-light: #dcbcf4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9fef",
  "rgb": {
    "r": 203,
    "g": 159,
    "b": 239
  },
  "hsl": {
    "h": 273,
    "s": 71.429,
    "l": 78.039
  },
  "oklch": {
    "l": 0.77129,
    "c": 0.1204,
    "h": 309
  },
  "luminance": 0.43725
}

Semantic roles & 50–950 ramp

primary
#CB9FEF
secondary
#E4F2D9
accent
#D31269
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CB9FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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