#C879EF#C879EF

#C879EF is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.6% C 0.182 H 313.5°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#C879EF
RGBrgb(200, 121, 239)
HSLhsl(280, 79%, 71%)
HSVhsv(280, 49%, 94%)
CMYKcmyk(16.3%, 49.4%, 0%, 6.3%)
CIE-LABlab(63.50, 50.57, -47.39)
CIE-LCHlch(63.50, 69.31, 316.86°)
OKLaboklab(70.63% 0.1253 -0.132)
OKLCHoklch(70.63% 0.182 313.5)
XYZxyz(46.2342, 32.1872, 85.4218)
Luminance0.3219 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C879EF #A0EF79
analogous
#8D79EF #C879EF #EF79DB
triadic
#C879EF #EFC879 #79EFC8
tetradic
#C879EF #EF8D79 #A0EF79 #79DBEF
square
#C879EF #EF8D79 #A0EF79 #79DBEF
split-complementary
#C879EF #DBEF79 #79EF8D
monochromatic
#9619D4 #B242E8 #C879EF #DEB0F6 #F4E4FC

Accessibility & contrast

On white

2.82
#C879EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#C879EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C879EF
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C879EF#FFFFFF#000000##000000
##C879EF1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E95F3
Deuteranopia (green-blind)
#769CEC
Tritanopia (blue-blind)
#C58BA9
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c879ef;
/* rgb */ color: rgb(200, 121, 239);
/* oklch */ color: oklch(70.6% 0.182 313.5);
Tailwind
colors: {
  custom: {
    50: '#dba2f5',
    500: '#c879ef',
    950: '#000000',
  },
}
SCSS
$custom: #c879ef;
$custom-light: #dba2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c879ef",
  "rgb": {
    "r": 200,
    "g": 121,
    "b": 239
  },
  "hsl": {
    "h": 280.169,
    "s": 78.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70632,
    "c": 0.18206,
    "h": 313.5
  },
  "luminance": 0.32186
}

Semantic roles & 50–950 ramp

primary
#C879EF
secondary
#DCF2D2
accent
#DB0B4F
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #C879EF

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

Preview Lab → · Contrast checker → · Palette generator →

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