#C873FC#C873FC

#C873FC is a light, highly saturated violet. Relative luminance 0.316; OKLCH L 70.5% C 0.205 H 310.8°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#C873FC
RGBrgb(200, 115, 252)
HSLhsl(277, 96%, 72%)
HSVhsv(277, 54%, 99%)
CMYKcmyk(20.6%, 54.4%, 0%, 1.2%)
CIE-LABlab(62.99, 56.38, -55.37)
CIE-LCHlch(62.99, 79.02, 315.51°)
OKLaboklab(70.47% 0.1342 -0.1552)
OKLCHoklch(70.47% 0.205 310.8)
XYZxyz(47.5176, 31.5701, 95.6670)
Luminance0.3157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C873FC #A7FC73
analogous
#8473FC #C873FC #FC73EC
triadic
#C873FC #FCC873 #73FCC8
tetradic
#C873FC #FC8473 #A7FC73 #73ECFC
square
#C873FC #FC8473 #A7FC73 #73ECFC
split-complementary
#C873FC #ECFC73 #73FC84
monochromatic
#9705EF #B037FB #C873FC #E0AFFD #F3E1FE

Accessibility & contrast

On white

2.87
#C873FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#C873FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C873FC
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C873FC#FFFFFF#000000##000000
##C873FC1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A94FF
Deuteranopia (green-blind)
#689AF9
Tritanopia (blue-blind)
#C28BAD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c873fc;
/* rgb */ color: rgb(200, 115, 252);
/* oklch */ color: oklch(70.5% 0.205 310.8);
Tailwind
colors: {
  custom: {
    50: '#dc9efe',
    500: '#c873fc',
    950: '#000000',
  },
}
SCSS
$custom: #c873fc;
$custom-light: #dc9efe;
$custom-dark: #000000;
JSON
{
  "hex": "#c873fc",
  "rgb": {
    "r": 200,
    "g": 115,
    "b": 252
  },
  "hsl": {
    "h": 277.226,
    "s": 95.804,
    "l": 71.961
  },
  "oklch": {
    "l": 0.70469,
    "c": 0.20524,
    "h": 310.8
  },
  "luminance": 0.31569
}

Semantic roles & 50–950 ramp

primary
#C873FC
secondary
#E1F7D4
accent
#E60057
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #C873FC

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

Preview Lab → · Contrast checker → · Palette generator →

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