#C873F9#C873F9

#C873F9 is a light, highly saturated violet. Relative luminance 0.314; OKLCH L 70.3% C 0.202 H 311.6°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#C873F9
RGBrgb(200, 115, 249)
HSLhsl(278, 92%, 71%)
HSVhsv(278, 54%, 98%)
CMYKcmyk(19.7%, 53.8%, 0%, 2.4%)
CIE-LABlab(62.83, 55.74, -53.97)
CIE-LCHlch(62.83, 77.59, 315.92°)
OKLaboklab(70.3% 0.1341 -0.1512)
OKLCHoklch(70.3% 0.202 311.6)
XYZxyz(47.0460, 31.3814, 93.1831)
Luminance0.3138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C873F9 #A4F973
analogous
#8573F9 #C873F9 #F973E7
triadic
#C873F9 #F9C873 #73F9C8
tetradic
#C873F9 #F98573 #A4F973 #73E7F9
square
#C873F9 #F98573 #A4F973 #73E7F9
split-complementary
#C873F9 #E7F973 #73F985
monochromatic
#970AE8 #B138F6 #C873F9 #DFAEFC #F3E2FE

Accessibility & contrast

On white

2.89
#C873F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#C873F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C873F9
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C873F9#FFFFFF#000000##000000
##C873F91.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D94FD
Deuteranopia (green-blind)
#6A9AF6
Tritanopia (blue-blind)
#C38AAB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c873f9;
/* rgb */ color: rgb(200, 115, 249);
/* oklch */ color: oklch(70.3% 0.202 311.6);
Tailwind
colors: {
  custom: {
    50: '#db9efc',
    500: '#c873f9',
    950: '#000000',
  },
}
SCSS
$custom: #c873f9;
$custom-light: #db9efc;
$custom-dark: #000000;
JSON
{
  "hex": "#c873f9",
  "rgb": {
    "r": 200,
    "g": 115,
    "b": 249
  },
  "hsl": {
    "h": 278.06,
    "s": 91.781,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70302,
    "c": 0.20205,
    "h": 311.6
  },
  "luminance": 0.3138
}

Semantic roles & 50–950 ramp

primary
#C873F9
secondary
#DFF5D2
accent
#E60054
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #C873F9

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

Preview Lab → · Contrast checker → · Palette generator →

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