#C873FE#C873FE

#C873FE is a light, highly saturated violet. Relative luminance 0.317; OKLCH L 70.6% C 0.207 H 310.4°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#C873FE
RGBrgb(200, 115, 254)
HSLhsl(277, 99%, 72%)
HSVhsv(277, 55%, 100%)
CMYKcmyk(21.3%, 54.7%, 0%, 0.4%)
CIE-LABlab(63.09, 56.80, -56.30)
CIE-LCHlch(63.09, 79.98, 315.25°)
OKLaboklab(70.58% 0.1343 -0.158)
OKLCHoklch(70.58% 0.207 310.4)
XYZxyz(47.8362, 31.6975, 97.3450)
Luminance0.3170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C873FE #A9FE73
analogous
#8373FE #C873FE #FE73EE
triadic
#C873FE #FEC873 #73FEC8
tetradic
#C873FE #FE8373 #A9FE73 #73EEFE
square
#C873FE #FE8373 #A9FE73 #73EEFE
split-complementary
#C873FE #EEFE73 #73FE83
monochromatic
#9602F5 #B036FE #C873FE #E0B0FE #F3E1FF

Accessibility & contrast

On white

2.86
#C873FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#C873FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C873FE
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C873FE#FFFFFF#000000##000000
##C873FE1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4895FF
Deuteranopia (green-blind)
#669AFB
Tritanopia (blue-blind)
#C18CAE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c873fe;
/* rgb */ color: rgb(200, 115, 254);
/* oklch */ color: oklch(70.6% 0.207 310.4);
Tailwind
colors: {
  custom: {
    50: '#dc9eff',
    500: '#c873fe',
    950: '#000000',
  },
}
SCSS
$custom: #c873fe;
$custom-light: #dc9eff;
$custom-dark: #000000;
JSON
{
  "hex": "#c873fe",
  "rgb": {
    "r": 200,
    "g": 115,
    "b": 254
  },
  "hsl": {
    "h": 276.691,
    "s": 98.582,
    "l": 72.353
  },
  "oklch": {
    "l": 0.70581,
    "c": 0.20737,
    "h": 310.4
  },
  "luminance": 0.31697
}

Semantic roles & 50–950 ramp

primary
#C873FE
secondary
#E2F7D4
accent
#E60059
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #C873FE

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

Preview Lab → · Contrast checker → · Palette generator →

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