#C873F0#C873F0

#C873F0 is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.8% C 0.193 H 313.9°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#C873F0
RGBrgb(200, 115, 240)
HSLhsl(281, 81%, 70%)
HSVhsv(281, 52%, 94%)
CMYKcmyk(16.7%, 52.1%, 0%, 5.9%)
CIE-LABlab(62.37, 53.85, -49.74)
CIE-LCHlch(62.37, 73.30, 317.28°)
OKLaboklab(69.81% 0.1334 -0.1388)
OKLCHoklch(69.81% 0.193 313.9)
XYZxyz(45.6757, 30.8333, 85.9665)
Luminance0.3083 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C873F0 #9BF073
analogous
#8A73F0 #C873F0 #F073DA
triadic
#C873F0 #F0C873 #73F0C8
tetradic
#C873F0 #F08A73 #9BF073 #73DAF0
square
#C873F0 #F08A73 #9BF073 #73DAF0
split-complementary
#C873F0 #DAF073 #73F08A
monochromatic
#9617D2 #B23CEA #C873F0 #DEAAF6 #F3E2FC

Accessibility & contrast

On white

2.93
#C873F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#C873F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C873F0
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C873F0#FFFFFF#000000##000000
##C873F01.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5592F4
Deuteranopia (green-blind)
#7099ED
Tritanopia (blue-blind)
#C587A7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c873f0;
/* rgb */ color: rgb(200, 115, 240);
/* oklch */ color: oklch(69.8% 0.193 313.9);
Tailwind
colors: {
  custom: {
    50: '#db9ef5',
    500: '#c873f0',
    950: '#000000',
  },
}
SCSS
$custom: #c873f0;
$custom-light: #db9ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#c873f0",
  "rgb": {
    "r": 200,
    "g": 115,
    "b": 240
  },
  "hsl": {
    "h": 280.8,
    "s": 80.645,
    "l": 69.608
  },
  "oklch": {
    "l": 0.69812,
    "c": 0.19253,
    "h": 313.9
  },
  "luminance": 0.30832
}

Semantic roles & 50–950 ramp

primary
#C873F0
secondary
#D9F1CE
accent
#DD094D
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150F17
muted
#837E85

Preview Lab

Preview with #C873F0

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

Preview Lab → · Contrast checker → · Palette generator →

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