#CB8DF9#CB8DF9

#CB8DF9 is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.6% C 0.162 H 309.4°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#CB8DF9
RGBrgb(203, 141, 249)
HSLhsl(274, 90%, 76%)
HSVhsv(274, 43%, 98%)
CMYKcmyk(18.5%, 43.4%, 0%, 2.4%)
CIE-LABlab(68.45, 42.95, -45.07)
CIE-LCHlch(68.45, 62.26, 313.62°)
OKLaboklab(74.55% 0.103 -0.1253)
OKLCHoklch(74.55% 0.162 309.4)
XYZxyz(51.2492, 38.5865, 94.3523)
Luminance0.3859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8DF9 #BBF98D
analogous
#958DF9 #CB8DF9 #F98DF1
triadic
#CB8DF9 #F9CB8D #8DF9CB
tetradic
#CB8DF9 #F9958D #BBF98D #8DF1F9
square
#CB8DF9 #F9958D #BBF98D #8DF1F9
split-complementary
#CB8DF9 #F1F98D #8DF995
monochromatic
#9619F3 #B053F6 #CB8DF9 #E6C7FC #F2E2FD

Accessibility & contrast

On white

2.41
#CB8DF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#CB8DF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8DF9
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8DF9#FFFFFF#000000##000000
##CB8DF91.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A4FD
Deuteranopia (green-blind)
#85A8F6
Tritanopia (blue-blind)
#C59EB7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cb8df9;
/* rgb */ color: rgb(203, 141, 249);
/* oklch */ color: oklch(74.6% 0.162 309.4);
Tailwind
colors: {
  custom: {
    50: '#dcaffb',
    500: '#cb8df9',
    950: '#000000',
  },
}
SCSS
$custom: #cb8df9;
$custom-light: #dcaffb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8df9",
  "rgb": {
    "r": 203,
    "g": 141,
    "b": 249
  },
  "hsl": {
    "h": 274.444,
    "s": 90,
    "l": 76.471
  },
  "oklch": {
    "l": 0.74552,
    "c": 0.16223,
    "h": 309.4
  },
  "luminance": 0.38586
}

Semantic roles & 50–950 ramp

primary
#CB8DF9
secondary
#E3F6D5
accent
#E60062
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #CB8DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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