#C873F7#C873F7

#C873F7 is a light, vivid violet. Relative luminance 0.313; OKLCH L 70.2% C 0.200 H 312.1°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#C873F7
RGBrgb(200, 115, 247)
HSLhsl(279, 89%, 71%)
HSVhsv(279, 53%, 97%)
CMYKcmyk(19%, 53.4%, 0%, 3.1%)
CIE-LABlab(62.72, 55.32, -53.04)
CIE-LCHlch(62.72, 76.63, 316.21°)
OKLaboklab(70.19% 0.1339 -0.1484)
OKLCHoklch(70.19% 0.2 312.1)
XYZxyz(46.7357, 31.2573, 91.5489)
Luminance0.3126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C873F7 #A2F773
analogous
#8673F7 #C873F7 #F773E4
triadic
#C873F7 #F7C873 #73F7C8
tetradic
#C873F7 #F78673 #A2F773 #73E4F7
square
#C873F7 #F78673 #A2F773 #73E4F7
split-complementary
#C873F7 #E4F773 #73F786
monochromatic
#970DE3 #B139F4 #C873F7 #DFADFA #F4E2FD

Accessibility & contrast

On white

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

On black

7.25
#C873F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C873F7
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C873F7#FFFFFF#000000##000000
##C873F71.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F93FB
Deuteranopia (green-blind)
#6B9AF4
Tritanopia (blue-blind)
#C389AA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c873f7;
/* rgb */ color: rgb(200, 115, 247);
/* oklch */ color: oklch(70.2% 0.200 312.1);
Tailwind
colors: {
  custom: {
    50: '#db9efa',
    500: '#c873f7',
    950: '#000000',
  },
}
SCSS
$custom: #c873f7;
$custom-light: #db9efa;
$custom-dark: #000000;
JSON
{
  "hex": "#c873f7",
  "rgb": {
    "r": 200,
    "g": 115,
    "b": 247
  },
  "hsl": {
    "h": 278.636,
    "s": 89.189,
    "l": 70.98
  },
  "oklch": {
    "l": 0.70192,
    "c": 0.19993,
    "h": 312.1
  },
  "luminance": 0.31256
}

Semantic roles & 50–950 ramp

primary
#C873F7
secondary
#DEF4D1
accent
#E60052
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #C873F7

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

Preview Lab → · Contrast checker → · Palette generator →

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