#C873F6#C873F6

#C873F6 is a light, vivid violet. Relative luminance 0.312; OKLCH L 70.1% C 0.199 H 312.3°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#C873F6
RGBrgb(200, 115, 246)
HSLhsl(279, 88%, 71%)
HSVhsv(279, 53%, 96%)
CMYKcmyk(18.7%, 53.3%, 0%, 3.5%)
CIE-LABlab(62.67, 55.11, -52.57)
CIE-LCHlch(62.67, 76.16, 316.35°)
OKLaboklab(70.14% 0.1339 -0.1471)
OKLCHoklch(70.14% 0.199 312.3)
XYZxyz(46.5818, 31.1957, 90.7384)
Luminance0.3120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C873F6 #A1F673
analogous
#8673F6 #C873F6 #F673E3
triadic
#C873F6 #F6C873 #73F6C8
tetradic
#C873F6 #F68673 #A1F673 #73E3F6
square
#C873F6 #F68673 #A1F673 #73E3F6
split-complementary
#C873F6 #E3F673 #73F686
monochromatic
#970EE0 #B139F2 #C873F6 #DFADFA #F4E2FD

Accessibility & contrast

On white

2.90
#C873F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#C873F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C873F6
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C873F6#FFFFFF#000000##000000
##C873F61.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5093FA
Deuteranopia (green-blind)
#6C99F3
Tritanopia (blue-blind)
#C389AA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c873f6;
/* rgb */ color: rgb(200, 115, 246);
/* oklch */ color: oklch(70.1% 0.199 312.3);
Tailwind
colors: {
  custom: {
    50: '#db9efa',
    500: '#c873f6',
    950: '#000000',
  },
}
SCSS
$custom: #c873f6;
$custom-light: #db9efa;
$custom-dark: #000000;
JSON
{
  "hex": "#c873f6",
  "rgb": {
    "r": 200,
    "g": 115,
    "b": 246
  },
  "hsl": {
    "h": 278.931,
    "s": 87.919,
    "l": 70.784
  },
  "oklch": {
    "l": 0.70137,
    "c": 0.19887,
    "h": 312.3
  },
  "luminance": 0.31195
}

Semantic roles & 50–950 ramp

primary
#C873F6
secondary
#DDF4D1
accent
#E40151
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #C873F6

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

Preview Lab → · Contrast checker → · Palette generator →

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