#C873FD#C873FD

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

Color values

HEX#C873FD
RGBrgb(200, 115, 253)
HSLhsl(277, 97%, 72%)
HSVhsv(277, 55%, 99%)
CMYKcmyk(20.9%, 54.5%, 0%, 0.8%)
CIE-LABlab(63.04, 56.59, -55.84)
CIE-LCHlch(63.04, 79.50, 315.38°)
OKLaboklab(70.53% 0.1343 -0.1566)
OKLCHoklch(70.53% 0.206 310.6)
XYZxyz(47.6765, 31.6336, 96.5038)
Luminance0.3163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C873FD #A8FD73
analogous
#8373FD #C873FD #FD73ED
triadic
#C873FD #FDC873 #73FDC8
tetradic
#C873FD #FD8373 #A8FD73 #73EDFD
square
#C873FD #FD8373 #A8FD73 #73EDFD
split-complementary
#C873FD #EDFD73 #73FD83
monochromatic
#9603F2 #B037FC #C873FD #E0AFFE #F3E1FF

Accessibility & contrast

On white

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

On black

7.33
#C873FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C873FD
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C873FD#FFFFFF#000000##000000
##C873FD1.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4995FF
Deuteranopia (green-blind)
#679AFA
Tritanopia (blue-blind)
#C28BAD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c873fd;
/* rgb */ color: rgb(200, 115, 253);
/* oklch */ color: oklch(70.5% 0.206 310.6);
Tailwind
colors: {
  custom: {
    50: '#dc9eff',
    500: '#c873fd',
    950: '#000000',
  },
}
SCSS
$custom: #c873fd;
$custom-light: #dc9eff;
$custom-dark: #000000;
JSON
{
  "hex": "#c873fd",
  "rgb": {
    "r": 200,
    "g": 115,
    "b": 253
  },
  "hsl": {
    "h": 276.957,
    "s": 97.183,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70525,
    "c": 0.2063,
    "h": 310.6
  },
  "luminance": 0.31633
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C873FD

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

Preview Lab → · Contrast checker → · Palette generator →

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