#CB94DB#CB94DB

#CB94DB is a light, moderate purple. Relative luminance 0.390; OKLCH L 74.4% C 0.116 H 318.5°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#CB94DB
RGBrgb(203, 148, 219)
HSLhsl(286, 50%, 72%)
HSVhsv(286, 32%, 86%)
CMYKcmyk(7.3%, 32.4%, 0%, 14.1%)
CIE-LABlab(68.75, 32.90, -28.13)
CIE-LCHlch(68.75, 43.29, 319.47°)
OKLaboklab(74.36% 0.0867 -0.0768)
OKLCHoklch(74.36% 0.116 318.5)
XYZxyz(48.0029, 38.9920, 72.0016)
Luminance0.3899 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB94DB #A4DB94
analogous
#A894DB #CB94DB #DB94C8
triadic
#CB94DB #DBCB94 #94DBCB
tetradic
#CB94DB #DBA894 #A4DB94 #94C8DB
square
#CB94DB #DBA894 #A4DB94 #94C8DB
split-complementary
#CB94DB #C8DB94 #94DBA8
monochromatic
#9C3EB7 #B566CC #CB94DB #E1C2EA #F4E8F7

Accessibility & contrast

On white

2.39
#CB94DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#CB94DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB94DB
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB94DB#FFFFFF#000000##000000
##CB94DB1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA4DE
Deuteranopia (green-blind)
#98AAD9
Tritanopia (blue-blind)
#CB9CAE
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cb94db;
/* rgb */ color: rgb(203, 148, 219);
/* oklch */ color: oklch(74.4% 0.116 318.5);
Tailwind
colors: {
  custom: {
    50: '#dbb4e6',
    500: '#cb94db',
    950: '#000000',
  },
}
SCSS
$custom: #cb94db;
$custom-light: #dbb4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb94db",
  "rgb": {
    "r": 203,
    "g": 148,
    "b": 219
  },
  "hsl": {
    "h": 286.479,
    "s": 49.65,
    "l": 71.961
  },
  "oklch": {
    "l": 0.74363,
    "c": 0.11589,
    "h": 318.5
  },
  "luminance": 0.38991
}

Semantic roles & 50–950 ramp

primary
#CB94DB
secondary
#E1EEDD
accent
#BD294A
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CB94DB

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

Preview Lab → · Contrast checker → · Palette generator →

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