#CB9FF4#CB9FF4

#CB9FF4 is a light, vivid violet. Relative luminance 0.440; OKLCH L 77.3% C 0.127 H 307.4°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#CB9FF4
RGBrgb(203, 159, 244)
HSLhsl(271, 79%, 79%)
HSVhsv(271, 35%, 96%)
CMYKcmyk(16.8%, 34.8%, 0%, 4.3%)
CIE-LABlab(72.25, 32.09, -36.42)
CIE-LCHlch(72.25, 48.54, 311.38°)
OKLaboklab(77.35% 0.0769 -0.1005)
OKLCHoklch(77.35% 0.127 307.4)
XYZxyz(53.3528, 44.0249, 91.2574)
Luminance0.4402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9FF4 #C8F49F
analogous
#A19FF4 #CB9FF4 #F49FF2
triadic
#CB9FF4 #F4CB9F #9FF4CB
tetradic
#CB9FF4 #F4A19F #C8F49F #9FF2F4
square
#CB9FF4 #F4A19F #C8F49F #9FF2F4
split-complementary
#CB9FF4 #F2F49F #9FF4A1
monochromatic
#9031E7 #AD68EE #CB9FF4 #E9D6FA #F0E4FC

Accessibility & contrast

On white

2.14
#CB9FF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#CB9FF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9FF4
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9FF4#FFFFFF#000000##000000
##CB9FF41.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EAFF7
Deuteranopia (green-blind)
#97B2F2
Tritanopia (blue-blind)
#C5ABBE
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cb9ff4;
/* rgb */ color: rgb(203, 159, 244);
/* oklch */ color: oklch(77.3% 0.127 307.4);
Tailwind
colors: {
  custom: {
    50: '#dcbcf8',
    500: '#cb9ff4',
    950: '#000000',
  },
}
SCSS
$custom: #cb9ff4;
$custom-light: #dcbcf8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9ff4",
  "rgb": {
    "r": 203,
    "g": 159,
    "b": 244
  },
  "hsl": {
    "h": 271.059,
    "s": 79.439,
    "l": 79.02
  },
  "oklch": {
    "l": 0.77348,
    "c": 0.12654,
    "h": 307.4
  },
  "luminance": 0.44024
}

Semantic roles & 50–950 ramp

primary
#CB9FF4
secondary
#E5F4D7
accent
#DC0A6F
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CB9FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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