#CB9FFE#CB9FFE

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

Color values

HEX#CB9FFE
RGBrgb(203, 159, 254)
HSLhsl(268, 98%, 81%)
HSVhsv(268, 37%, 100%)
CMYKcmyk(20.1%, 37.4%, 0%, 0.4%)
CIE-LABlab(72.66, 34.28, -41.20)
CIE-LCHlch(72.66, 53.60, 309.76°)
OKLaboklab(77.8% 0.079 -0.1142)
OKLCHoklch(77.8% 0.139 304.7)
XYZxyz(54.9125, 44.6488, 99.4719)
Luminance0.4465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9FFE #D2FE9F
analogous
#9FA2FE #CB9FFE #FA9FFE
triadic
#CB9FFE #FECB9F #9FFECB
tetradic
#CB9FFE #FE9FA2 #D2FE9F #9FFEFA
square
#CB9FFE #FE9FA2 #D2FE9F #9FFEFA
split-complementary
#CB9FFE #FEFA9F #A2FE9F
monochromatic
#8926FD #AA62FD #CB9FFE #ECDCFF #EFE1FF

Accessibility & contrast

On white

2.11
#CB9FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#CB9FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9FFE
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9FFE#FFFFFF#000000##000000
##CB9FFE1.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb9ffe;
/* rgb */ color: rgb(203, 159, 254);
/* oklch */ color: oklch(77.8% 0.139 304.7);
Tailwind
colors: {
  custom: {
    50: '#dcbcff',
    500: '#cb9ffe',
    950: '#000000',
  },
}
SCSS
$custom: #cb9ffe;
$custom-light: #dcbcff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9ffe",
  "rgb": {
    "r": 203,
    "g": 159,
    "b": 254
  },
  "hsl": {
    "h": 267.789,
    "s": 97.938,
    "l": 80.98
  },
  "oklch": {
    "l": 0.77799,
    "c": 0.13892,
    "h": 304.7
  },
  "luminance": 0.44649
}

Semantic roles & 50–950 ramp

primary
#CB9FFE
secondary
#E7F7D4
accent
#E6007B
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CB9FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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