#C873F2#C873F2

#C873F2 is a light, vivid purple. Relative luminance 0.310; OKLCH L 69.9% C 0.195 H 313.3°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#C873F2
RGBrgb(200, 115, 242)
HSLhsl(280, 83%, 70%)
HSVhsv(280, 52%, 95%)
CMYKcmyk(17.4%, 52.5%, 0%, 5.1%)
CIE-LABlab(62.47, 54.27, -50.68)
CIE-LCHlch(62.47, 74.25, 316.96°)
OKLaboklab(69.92% 0.1336 -0.1416)
OKLCHoklch(69.92% 0.195 313.3)
XYZxyz(45.9745, 30.9528, 87.5398)
Luminance0.3095 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C873F2 #9DF273
analogous
#8873F2 #C873F2 #F273DD
triadic
#C873F2 #F2C873 #73F2C8
tetradic
#C873F2 #F28873 #9DF273 #73DDF2
square
#C873F2 #F28873 #9DF273 #73DDF2
split-complementary
#C873F2 #DDF273 #73F288
monochromatic
#9614D7 #B23BED #C873F2 #DEABF7 #F4E3FC

Accessibility & contrast

On white

2.92
#C873F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#C873F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C873F2
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C873F2#FFFFFF#000000##000000
##C873F21.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5392F6
Deuteranopia (green-blind)
#6E99EF
Tritanopia (blue-blind)
#C488A8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c873f2;
/* rgb */ color: rgb(200, 115, 242);
/* oklch */ color: oklch(69.9% 0.195 313.3);
Tailwind
colors: {
  custom: {
    50: '#db9ef7',
    500: '#c873f2',
    950: '#000000',
  },
}
SCSS
$custom: #c873f2;
$custom-light: #db9ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#c873f2",
  "rgb": {
    "r": 200,
    "g": 115,
    "b": 242
  },
  "hsl": {
    "h": 280.157,
    "s": 83.007,
    "l": 70
  },
  "oklch": {
    "l": 0.6992,
    "c": 0.19464,
    "h": 313.3
  },
  "luminance": 0.30952
}

Semantic roles & 50–950 ramp

primary
#C873F2
secondary
#DAF2CF
accent
#DF064E
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #C873F2

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

Preview Lab → · Contrast checker → · Palette generator →

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