#CB94DC#CB94DC

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

Color values

HEX#CB94DC
RGBrgb(203, 148, 220)
HSLhsl(286, 51%, 72%)
HSVhsv(286, 33%, 86%)
CMYKcmyk(7.7%, 32.7%, 0%, 13.7%)
CIE-LABlab(68.78, 33.10, -28.62)
CIE-LCHlch(68.78, 43.76, 319.15°)
OKLaboklab(74.41% 0.087 -0.0782)
OKLCHoklch(74.41% 0.117 318)
XYZxyz(48.1350, 39.0448, 72.6970)
Luminance0.3904 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB94DC #A5DC94
analogous
#A794DC #CB94DC #DC94C9
triadic
#CB94DC #DCCB94 #94DCCB
tetradic
#CB94DC #DCA794 #A5DC94 #94C9DC
square
#CB94DC #DCA794 #A5DC94 #94C9DC
split-complementary
#CB94DC #C9DC94 #94DCA7
monochromatic
#9C3DB9 #B566CD #CB94DC #E1C2EB #F4E8F7

Accessibility & contrast

On white

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

On black

8.81
#CB94DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB94DC
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB94DC#FFFFFF#000000##000000
##CB94DC1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA4DF
Deuteranopia (green-blind)
#97AADA
Tritanopia (blue-blind)
#CB9CAE
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cb94dc;
/* rgb */ color: rgb(203, 148, 220);
/* oklch */ color: oklch(74.4% 0.117 318.0);
Tailwind
colors: {
  custom: {
    50: '#dbb4e7',
    500: '#cb94dc',
    950: '#000000',
  },
}
SCSS
$custom: #cb94dc;
$custom-light: #dbb4e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb94dc",
  "rgb": {
    "r": 203,
    "g": 148,
    "b": 220
  },
  "hsl": {
    "h": 285.833,
    "s": 50.704,
    "l": 72.157
  },
  "oklch": {
    "l": 0.74405,
    "c": 0.11701,
    "h": 318
  },
  "luminance": 0.39044
}

Semantic roles & 50–950 ramp

primary
#CB94DC
secondary
#E1EFDC
accent
#BE274B
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CB94DC

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

Preview Lab → · Contrast checker → · Palette generator →

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