#C875EC#C875EC

#C875EC is a light, vivid purple. Relative luminance 0.311; OKLCH L 69.9% C 0.185 H 314.8°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#C875EC
RGBrgb(200, 117, 236)
HSLhsl(282, 76%, 69%)
HSVhsv(282, 50%, 93%)
CMYKcmyk(15.3%, 50.4%, 0%, 7.5%)
CIE-LABlab(62.56, 52.00, -47.22)
CIE-LCHlch(62.56, 70.24, 317.76°)
OKLaboklab(69.89% 0.1304 -0.1315)
OKLCHoklch(69.89% 0.185 314.8)
XYZxyz(45.3186, 31.0593, 82.9484)
Luminance0.3106 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C875EC #99EC75
analogous
#8D75EC #C875EC #EC75D4
triadic
#C875EC #ECC875 #75ECC8
tetradic
#C875EC #EC8D75 #99EC75 #75D4EC
square
#C875EC #EC8D75 #99EC75 #75D4EC
split-complementary
#C875EC #D4EC75 #75EC8D
monochromatic
#961CCB #B33FE5 #C875EC #DDABF3 #F3E1FB

Accessibility & contrast

On white

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

On black

7.21
#C875EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C875EC
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C875EC#FFFFFF#000000##000000
##C875EC1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A92F0
Deuteranopia (green-blind)
#749AE9
Tritanopia (blue-blind)
#C687A6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c875ec;
/* rgb */ color: rgb(200, 117, 236);
/* oklch */ color: oklch(69.9% 0.185 314.8);
Tailwind
colors: {
  custom: {
    50: '#db9ff2',
    500: '#c875ec',
    950: '#000000',
  },
}
SCSS
$custom: #c875ec;
$custom-light: #db9ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#c875ec",
  "rgb": {
    "r": 200,
    "g": 117,
    "b": 236
  },
  "hsl": {
    "h": 281.849,
    "s": 75.796,
    "l": 69.216
  },
  "oklch": {
    "l": 0.69889,
    "c": 0.18518,
    "h": 314.8
  },
  "luminance": 0.31058
}

Semantic roles & 50–950 ramp

primary
#C875EC
secondary
#D8F0CD
accent
#D80E4B
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C875EC

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

Preview Lab → · Contrast checker → · Palette generator →

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