#CB9FFD#CB9FFD

#CB9FFD is a light, vivid violet. Relative luminance 0.446; OKLCH L 77.8% C 0.138 H 304.9°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#CB9FFD
RGBrgb(203, 159, 253)
HSLhsl(268, 96%, 81%)
HSVhsv(268, 37%, 99%)
CMYKcmyk(19.8%, 37.2%, 0%, 0.8%)
CIE-LABlab(72.62, 34.06, -40.73)
CIE-LCHlch(72.62, 53.09, 309.91°)
OKLaboklab(77.75% 0.0788 -0.1129)
OKLCHoklch(77.75% 0.138 304.9)
XYZxyz(54.7528, 44.5849, 98.6307)
Luminance0.4459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9FFD #D1FD9F
analogous
#9FA2FD #CB9FFD #FA9FFD
triadic
#CB9FFD #FDCB9F #9FFDCB
tetradic
#CB9FFD #FD9FA2 #D1FD9F #9FFDFA
square
#CB9FFD #FD9FA2 #D1FD9F #9FFDFA
split-complementary
#CB9FFD #FDFA9F #A2FD9F
monochromatic
#8A27FB #AB63FC #CB9FFD #EBDBFE #EFE1FE

Accessibility & contrast

On white

2.12
#CB9FFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#CB9FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9FFD
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9FFD#FFFFFF#000000##000000
##CB9FFD1.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AB1FF
Deuteranopia (green-blind)
#93B2FA
Tritanopia (blue-blind)
#C3AEC2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cb9ffd;
/* rgb */ color: rgb(203, 159, 253);
/* oklch */ color: oklch(77.8% 0.138 304.9);
Tailwind
colors: {
  custom: {
    50: '#dcbcfe',
    500: '#cb9ffd',
    950: '#000000',
  },
}
SCSS
$custom: #cb9ffd;
$custom-light: #dcbcfe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9ffd",
  "rgb": {
    "r": 203,
    "g": 159,
    "b": 253
  },
  "hsl": {
    "h": 268.085,
    "s": 95.918,
    "l": 80.784
  },
  "oklch": {
    "l": 0.77753,
    "c": 0.13767,
    "h": 304.9
  },
  "luminance": 0.44585
}

Semantic roles & 50–950 ramp

primary
#CB9FFD
secondary
#E7F7D4
accent
#E6007A
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CB9FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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