#C873FB#C873FB

#C873FB is a light, highly saturated violet. Relative luminance 0.315; OKLCH L 70.4% C 0.204 H 311.1°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#C873FB
RGBrgb(200, 115, 251)
HSLhsl(278, 94%, 72%)
HSVhsv(278, 54%, 98%)
CMYKcmyk(20.3%, 54.2%, 0%, 1.6%)
CIE-LABlab(62.93, 56.16, -54.91)
CIE-LCHlch(62.93, 78.55, 315.65°)
OKLaboklab(70.41% 0.1342 -0.1539)
OKLCHoklch(70.41% 0.204 311.1)
XYZxyz(47.3596, 31.5068, 94.8347)
Luminance0.3151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C873FB #A6FB73
analogous
#8473FB #C873FB #FB73EA
triadic
#C873FB #FBC873 #73FBC8
tetradic
#C873FB #FB8473 #A6FB73 #73EAFB
square
#C873FB #FB8473 #A6FB73 #73EAFB
split-complementary
#C873FB #EAFB73 #73FB84
monochromatic
#9707ED #B138F9 #C873FB #DFAFFD #F3E1FE

Accessibility & contrast

On white

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

On black

7.30
#C873FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C873FB
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C873FB#FFFFFF#000000##000000
##C873FB1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B94FF
Deuteranopia (green-blind)
#689AF8
Tritanopia (blue-blind)
#C28BAC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c873fb;
/* rgb */ color: rgb(200, 115, 251);
/* oklch */ color: oklch(70.4% 0.204 311.1);
Tailwind
colors: {
  custom: {
    50: '#dc9efd',
    500: '#c873fb',
    950: '#000000',
  },
}
SCSS
$custom: #c873fb;
$custom-light: #dc9efd;
$custom-dark: #000000;
JSON
{
  "hex": "#c873fb",
  "rgb": {
    "r": 200,
    "g": 115,
    "b": 251
  },
  "hsl": {
    "h": 277.5,
    "s": 94.444,
    "l": 71.765
  },
  "oklch": {
    "l": 0.70413,
    "c": 0.20418,
    "h": 311.1
  },
  "luminance": 0.31506
}

Semantic roles & 50–950 ramp

primary
#C873FB
secondary
#E1F6D4
accent
#E60056
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #C873FB

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

Preview Lab → · Contrast checker → · Palette generator →

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