#C875EF#C875EF

#C875EF is a light, vivid purple. Relative luminance 0.312; OKLCH L 70.0% C 0.188 H 313.9°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#C875EF
RGBrgb(200, 117, 239)
HSLhsl(281, 79%, 70%)
HSVhsv(281, 51%, 94%)
CMYKcmyk(16.3%, 51%, 0%, 6.3%)
CIE-LABlab(62.71, 52.63, -48.65)
CIE-LCHlch(62.71, 71.66, 317.25°)
OKLaboklab(70.05% 0.1307 -0.1356)
OKLCHoklch(70.05% 0.188 313.9)
XYZxyz(45.7581, 31.2351, 85.2632)
Luminance0.3123 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C875EF #9CEF75
analogous
#8B75EF #C875EF #EF75D9
triadic
#C875EF #EFC875 #75EFC8
tetradic
#C875EF #EF8B75 #9CEF75 #75D9EF
square
#C875EF #EF8B75 #9CEF75 #75D9EF
split-complementary
#C875EF #D9EF75 #75EF8B
monochromatic
#9618D1 #B23EE9 #C875EF #DEACF5 #F4E3FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C875EF#FFFFFF#000000##000000
##C875EF1.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)
#5893F3
Deuteranopia (green-blind)
#729AEC
Tritanopia (blue-blind)
#C588A7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c875ef;
/* rgb */ color: rgb(200, 117, 239);
/* oklch */ color: oklch(70.0% 0.188 313.9);
Tailwind
colors: {
  custom: {
    50: '#db9ff5',
    500: '#c875ef',
    950: '#000000',
  },
}
SCSS
$custom: #c875ef;
$custom-light: #db9ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#c875ef",
  "rgb": {
    "r": 200,
    "g": 117,
    "b": 239
  },
  "hsl": {
    "h": 280.82,
    "s": 79.221,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70046,
    "c": 0.18836,
    "h": 313.9
  },
  "luminance": 0.31234
}

Semantic roles & 50–950 ramp

primary
#C875EF
secondary
#DAF1CF
accent
#DC0A4D
background
#FDFAFF
surface
#FBF3FE
border
#D4CDD6
text
#150F17
muted
#837F85

Preview Lab

Preview with #C875EF

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

Preview Lab → · Contrast checker → · Palette generator →

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