#C873FA#C873FA

#C873FA is a light, highly saturated violet. Relative luminance 0.314; OKLCH L 70.4% C 0.203 H 311.3°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#C873FA
RGBrgb(200, 115, 250)
HSLhsl(278, 93%, 72%)
HSVhsv(278, 54%, 98%)
CMYKcmyk(20%, 54%, 0%, 2%)
CIE-LABlab(62.88, 55.95, -54.44)
CIE-LCHlch(62.88, 78.07, 315.78°)
OKLaboklab(70.36% 0.1341 -0.1525)
OKLCHoklch(70.36% 0.203 311.3)
XYZxyz(47.2023, 31.4440, 94.0067)
Luminance0.3144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C873FA #A5FA73
analogous
#8573FA #C873FA #FA73E8
triadic
#C873FA #FAC873 #73FAC8
tetradic
#C873FA #FA8573 #A5FA73 #73E8FA
square
#C873FA #FA8573 #A5FA73 #73E8FA
split-complementary
#C873FA #E8FA73 #73FA85
monochromatic
#9708EA #B138F8 #C873FA #DFAEFC #F3E1FE

Accessibility & contrast

On white

2.88
#C873FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#C873FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C873FA
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C873FA#FFFFFF#000000##000000
##C873FA1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C94FE
Deuteranopia (green-blind)
#699AF7
Tritanopia (blue-blind)
#C28AAC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c873fa;
/* rgb */ color: rgb(200, 115, 250);
/* oklch */ color: oklch(70.4% 0.203 311.3);
Tailwind
colors: {
  custom: {
    50: '#dc9efc',
    500: '#c873fa',
    950: '#000000',
  },
}
SCSS
$custom: #c873fa;
$custom-light: #dc9efc;
$custom-dark: #000000;
JSON
{
  "hex": "#c873fa",
  "rgb": {
    "r": 200,
    "g": 115,
    "b": 250
  },
  "hsl": {
    "h": 277.778,
    "s": 93.103,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70357,
    "c": 0.20311,
    "h": 311.3
  },
  "luminance": 0.31443
}

Semantic roles & 50–950 ramp

primary
#C873FA
secondary
#E0F6D3
accent
#E60055
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #C873FA

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

Preview Lab → · Contrast checker → · Palette generator →

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