#CB9CF8#CB9CF8

#CB9CF8 is a light, vivid violet. Relative luminance 0.433; OKLCH L 77.0% C 0.136 H 306.9°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#CB9CF8
RGBrgb(203, 156, 248)
HSLhsl(271, 87%, 79%)
HSVhsv(271, 37%, 97%)
CMYKcmyk(18.1%, 37.1%, 0%, 2.7%)
CIE-LABlab(71.73, 34.60, -39.40)
CIE-LCHlch(71.73, 52.44, 311.28°)
OKLaboklab(77.01% 0.082 -0.1091)
OKLCHoklch(77.01% 0.136 306.9)
XYZxyz(53.4571, 43.2512, 94.3209)
Luminance0.4325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9CF8 #C9F89C
analogous
#9D9CF8 #CB9CF8 #F89CF7
triadic
#CB9CF8 #F8CB9C #9CF8CB
tetradic
#CB9CF8 #F89D9C #C9F89C #9CF7F8
square
#CB9CF8 #F89D9C #C9F89C #9CF7F8
split-complementary
#CB9CF8 #F7F89C #9CF89D
monochromatic
#8F2AF0 #AD63F4 #CB9CF8 #E9D5FC #F0E2FD

Accessibility & contrast

On white

2.18
#CB9CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#CB9CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9CF8
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9CF8#FFFFFF#000000##000000
##CB9CF81.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AEFC
Deuteranopia (green-blind)
#93B0F5
Tritanopia (blue-blind)
#C5AABE
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cb9cf8;
/* rgb */ color: rgb(203, 156, 248);
/* oklch */ color: oklch(77.0% 0.136 306.9);
Tailwind
colors: {
  custom: {
    50: '#dcb9fb',
    500: '#cb9cf8',
    950: '#000000',
  },
}
SCSS
$custom: #cb9cf8;
$custom-light: #dcb9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9cf8",
  "rgb": {
    "r": 203,
    "g": 156,
    "b": 248
  },
  "hsl": {
    "h": 270.652,
    "s": 86.792,
    "l": 79.216
  },
  "oklch": {
    "l": 0.77007,
    "c": 0.13643,
    "h": 306.9
  },
  "luminance": 0.43251
}

Semantic roles & 50–950 ramp

primary
#CB9CF8
secondary
#E5F5D6
accent
#E30270
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CB9CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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