#C873F3#C873F3

#C873F3 is a light, vivid violet. Relative luminance 0.310; OKLCH L 70.0% C 0.196 H 313.1°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#C873F3
RGBrgb(200, 115, 243)
HSLhsl(280, 84%, 70%)
HSVhsv(280, 53%, 95%)
CMYKcmyk(17.7%, 52.7%, 0%, 4.7%)
CIE-LABlab(62.52, 54.48, -51.15)
CIE-LCHlch(62.52, 74.73, 316.80°)
OKLaboklab(69.97% 0.1337 -0.1429)
OKLCHoklch(69.97% 0.196 313.1)
XYZxyz(46.1251, 31.0130, 88.3330)
Luminance0.3101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C873F3 #9EF373
analogous
#8873F3 #C873F3 #F373DE
triadic
#C873F3 #F3C873 #73F3C8
tetradic
#C873F3 #F38873 #9EF373 #73DEF3
square
#C873F3 #F38873 #9EF373 #73DEF3
split-complementary
#C873F3 #DEF373 #73F388
monochromatic
#9613D9 #B23BEE #C873F3 #DEABF8 #F4E3FD

Accessibility & contrast

On white

2.92
#C873F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#C873F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C873F3
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C873F3#FFFFFF#000000##000000
##C873F31.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5293F7
Deuteranopia (green-blind)
#6E99F0
Tritanopia (blue-blind)
#C488A8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c873f3;
/* rgb */ color: rgb(200, 115, 243);
/* oklch */ color: oklch(70.0% 0.196 313.1);
Tailwind
colors: {
  custom: {
    50: '#db9ef7',
    500: '#c873f3',
    950: '#000000',
  },
}
SCSS
$custom: #c873f3;
$custom-light: #db9ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#c873f3",
  "rgb": {
    "r": 200,
    "g": 115,
    "b": 243
  },
  "hsl": {
    "h": 279.844,
    "s": 84.211,
    "l": 70.196
  },
  "oklch": {
    "l": 0.69974,
    "c": 0.19569,
    "h": 313.1
  },
  "luminance": 0.31012
}

Semantic roles & 50–950 ramp

primary
#C873F3
secondary
#DBF3CF
accent
#E1054F
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #C873F3

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

Preview Lab → · Contrast checker → · Palette generator →

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