#C873DB#C873DB

#C873DB is a light, vivid purple. Relative luminance 0.297; OKLCH L 68.7% C 0.171 H 320.1°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#C873DB
RGBrgb(200, 115, 219)
HSLhsl(289, 59%, 65%)
HSVhsv(289, 47%, 86%)
CMYKcmyk(8.7%, 47.5%, 0%, 14.1%)
CIE-LABlab(61.36, 49.61, -39.63)
CIE-LCHlch(61.36, 63.50, 321.38°)
OKLaboklab(68.74% 0.131 -0.1095)
OKLCHoklch(68.74% 0.171 320.1)
XYZxyz(42.7348, 29.6569, 70.4774)
Luminance0.2965 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C873DB #86DB73
analogous
#9473DB #C873DB #DB73BA
triadic
#C873DB #DBC873 #73DBC8
tetradic
#C873DB #DB9473 #86DB73 #73BADB
square
#C873DB #DB9473 #86DB73 #73BADB
split-complementary
#C873DB #BADB73 #73DB94
monochromatic
#912BA8 #B542CE #C873DB #DBA4E8 #EED4F4

Accessibility & contrast

On white

3.03
#C873DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#C873DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C873DB
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C873DB#FFFFFF#000000##000000
##C873DB1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#628EDF
Deuteranopia (green-blind)
#7B97D8
Tritanopia (blue-blind)
#C9819D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c873db;
/* rgb */ color: rgb(200, 115, 219);
/* oklch */ color: oklch(68.7% 0.171 320.1);
Tailwind
colors: {
  custom: {
    50: '#db9ee6',
    500: '#c873db',
    950: '#000000',
  },
}
SCSS
$custom: #c873db;
$custom-light: #db9ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#c873db",
  "rgb": {
    "r": 200,
    "g": 115,
    "b": 219
  },
  "hsl": {
    "h": 289.038,
    "s": 59.091,
    "l": 65.49
  },
  "oklch": {
    "l": 0.68736,
    "c": 0.17073,
    "h": 320.1
  },
  "luminance": 0.29655
}

Semantic roles & 50–950 ramp

primary
#C873DB
secondary
#CAE6C3
accent
#C71F3D
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #C873DB

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

Preview Lab → · Contrast checker → · Palette generator →

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