#CB94DF#CB94DF

#CB94DF is a light, vivid purple. Relative luminance 0.392; OKLCH L 74.5% C 0.120 H 316.8°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#CB94DF
RGBrgb(203, 148, 223)
HSLhsl(284, 54%, 73%)
HSVhsv(284, 34%, 87%)
CMYKcmyk(9%, 33.6%, 0%, 12.5%)
CIE-LABlab(68.90, 33.70, -30.10)
CIE-LCHlch(68.90, 45.19, 318.23°)
OKLaboklab(74.53% 0.0878 -0.0824)
OKLCHoklch(74.53% 0.12 316.8)
XYZxyz(48.5358, 39.2051, 74.8083)
Luminance0.3920 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB94DF #A8DF94
analogous
#A594DF #CB94DF #DF94CD
triadic
#CB94DF #DFCB94 #94DFCB
tetradic
#CB94DF #DFA594 #A8DF94 #94CDDF
square
#CB94DF #DFA594 #A8DF94 #94CDDF
split-complementary
#CB94DF #CDDF94 #94DFA5
monochromatic
#9C39BF #B465D1 #CB94DF #E2C3ED #F4E7F8

Accessibility & contrast

On white

2.38
#CB94DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#CB94DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB94DF
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB94DF#FFFFFF#000000##000000
##CB94DF1.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A5E2
Deuteranopia (green-blind)
#96AADD
Tritanopia (blue-blind)
#CB9DB0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cb94df;
/* rgb */ color: rgb(203, 148, 223);
/* oklch */ color: oklch(74.5% 0.120 316.8);
Tailwind
colors: {
  custom: {
    50: '#dcb4e9',
    500: '#cb94df',
    950: '#000000',
  },
}
SCSS
$custom: #cb94df;
$custom-light: #dcb4e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb94df",
  "rgb": {
    "r": 203,
    "g": 148,
    "b": 223
  },
  "hsl": {
    "h": 284,
    "s": 53.957,
    "l": 72.745
  },
  "oklch": {
    "l": 0.74531,
    "c": 0.12039,
    "h": 316.8
  },
  "luminance": 0.39204
}

Semantic roles & 50–950 ramp

primary
#CB94DF
secondary
#E1EFDC
accent
#C1244E
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CB94DF

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

Preview Lab → · Contrast checker → · Palette generator →

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