#C873F8#C873F8

#C873F8 is a light, highly saturated violet. Relative luminance 0.313; OKLCH L 70.2% C 0.201 H 311.8°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#C873F8
RGBrgb(200, 115, 248)
HSLhsl(278, 90%, 71%)
HSVhsv(278, 54%, 97%)
CMYKcmyk(19.4%, 53.6%, 0%, 2.7%)
CIE-LABlab(62.78, 55.53, -53.51)
CIE-LCHlch(62.78, 77.11, 316.06°)
OKLaboklab(70.25% 0.134 -0.1498)
OKLCHoklch(70.25% 0.201 311.8)
XYZxyz(46.8904, 31.3192, 92.3638)
Luminance0.3132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C873F8 #A3F873
analogous
#8573F8 #C873F8 #F873E5
triadic
#C873F8 #F8C873 #73F8C8
tetradic
#C873F8 #F88573 #A3F873 #73E5F8
square
#C873F8 #F88573 #A3F873 #73E5F8
split-complementary
#C873F8 #E5F873 #73F885
monochromatic
#970BE5 #B139F5 #C873F8 #DFADFB #F4E2FE

Accessibility & contrast

On white

2.89
#C873F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#C873F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C873F8
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C873F8#FFFFFF#000000##000000
##C873F81.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E94FC
Deuteranopia (green-blind)
#6B9AF5
Tritanopia (blue-blind)
#C38AAB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c873f8;
/* rgb */ color: rgb(200, 115, 248);
/* oklch */ color: oklch(70.2% 0.201 311.8);
Tailwind
colors: {
  custom: {
    50: '#db9efb',
    500: '#c873f8',
    950: '#000000',
  },
}
SCSS
$custom: #c873f8;
$custom-light: #db9efb;
$custom-dark: #000000;
JSON
{
  "hex": "#c873f8",
  "rgb": {
    "r": 200,
    "g": 115,
    "b": 248
  },
  "hsl": {
    "h": 278.346,
    "s": 90.476,
    "l": 71.176
  },
  "oklch": {
    "l": 0.70247,
    "c": 0.20099,
    "h": 311.8
  },
  "luminance": 0.31318
}

Semantic roles & 50–950 ramp

primary
#C873F8
secondary
#DFF5D2
accent
#E60053
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #C873F8

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

Preview Lab → · Contrast checker → · Palette generator →

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