#C873FF#C873FF

#C873FF is a light, highly saturated violet. Relative luminance 0.318; OKLCH L 70.6% C 0.208 H 310.1°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#C873FF
RGBrgb(200, 115, 255)
HSLhsl(276, 100%, 73%)
HSVhsv(276, 55%, 100%)
CMYKcmyk(21.6%, 54.9%, 0%, 0%)
CIE-LABlab(63.15, 57.02, -56.77)
CIE-LCHlch(63.15, 80.46, 315.13°)
OKLaboklab(70.64% 0.1344 -0.1593)
OKLCHoklch(70.64% 0.208 310.1)
XYZxyz(47.9967, 31.7617, 98.1905)
Luminance0.3176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C873FF #AAFF73
analogous
#8273FF #C873FF #FF73F0
triadic
#C873FF #FFC873 #73FFC8
tetradic
#C873FF #FF8273 #AAFF73 #73F0FF
square
#C873FF #FF8273 #AAFF73 #73F0FF
split-complementary
#C873FF #F0FF73 #73FF82
monochromatic
#9600F8 #B036FF #C873FF #E0B0FF #F3E0FF

Accessibility & contrast

On white

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

On black

7.35
#C873FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C873FF
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C873FF#FFFFFF#000000##000000
##C873FF1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c873ff;
/* rgb */ color: rgb(200, 115, 255);
/* oklch */ color: oklch(70.6% 0.208 310.1);
Tailwind
colors: {
  custom: {
    50: '#dc9eff',
    500: '#c873ff',
    950: '#000000',
  },
}
SCSS
$custom: #c873ff;
$custom-light: #dc9eff;
$custom-dark: #000000;
JSON
{
  "hex": "#c873ff",
  "rgb": {
    "r": 200,
    "g": 115,
    "b": 255
  },
  "hsl": {
    "h": 276.429,
    "s": 100,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70638,
    "c": 0.20843,
    "h": 310.1
  },
  "luminance": 0.31761
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C873FF

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

Preview Lab → · Contrast checker → · Palette generator →

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