#C873F5#C873F5

#C873F5 is a light, vivid violet. Relative luminance 0.311; OKLCH L 70.1% C 0.198 H 312.6°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#C873F5
RGBrgb(200, 115, 245)
HSLhsl(279, 87%, 71%)
HSVhsv(279, 53%, 96%)
CMYKcmyk(18.4%, 53.1%, 0%, 3.9%)
CIE-LABlab(62.62, 54.90, -52.10)
CIE-LCHlch(62.62, 75.68, 316.50°)
OKLaboklab(70.08% 0.1338 -0.1457)
OKLCHoklch(70.08% 0.198 312.6)
XYZxyz(46.4287, 31.1345, 89.9323)
Luminance0.3113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C873F5 #A0F573
analogous
#8773F5 #C873F5 #F573E1
triadic
#C873F5 #F5C873 #73F5C8
tetradic
#C873F5 #F58773 #A0F573 #73E1F5
square
#C873F5 #F58773 #A0F573 #73E1F5
split-complementary
#C873F5 #E1F573 #73F587
monochromatic
#9610DE #B23AF1 #C873F5 #DEACF9 #F4E2FD

Accessibility & contrast

On white

2.91
#C873F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#C873F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C873F5
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C873F5#FFFFFF#000000##000000
##C873F51.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5193F9
Deuteranopia (green-blind)
#6D99F2
Tritanopia (blue-blind)
#C389A9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c873f5;
/* rgb */ color: rgb(200, 115, 245);
/* oklch */ color: oklch(70.1% 0.198 312.6);
Tailwind
colors: {
  custom: {
    50: '#db9ef9',
    500: '#c873f5',
    950: '#000000',
  },
}
SCSS
$custom: #c873f5;
$custom-light: #db9ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#c873f5",
  "rgb": {
    "r": 200,
    "g": 115,
    "b": 245
  },
  "hsl": {
    "h": 279.231,
    "s": 86.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70082,
    "c": 0.19781,
    "h": 312.6
  },
  "luminance": 0.31133
}

Semantic roles & 50–950 ramp

primary
#C873F5
secondary
#DCF4D0
accent
#E30250
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #C873F5

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

Preview Lab → · Contrast checker → · Palette generator →

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