#C879F2#C879F2

#C879F2 is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.8% C 0.185 H 312.7°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#C879F2
RGBrgb(200, 121, 242)
HSLhsl(279, 82%, 71%)
HSVhsv(279, 50%, 95%)
CMYKcmyk(17.4%, 50%, 0%, 5.1%)
CIE-LABlab(63.64, 51.20, -48.82)
CIE-LCHlch(63.64, 70.74, 316.36°)
OKLaboklab(70.79% 0.1257 -0.1362)
OKLCHoklch(70.79% 0.185 312.7)
XYZxyz(46.6811, 32.3660, 87.7754)
Luminance0.3236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C879F2 #A3F279
analogous
#8B79F2 #C879F2 #F279DF
triadic
#C879F2 #F2C879 #79F2C8
tetradic
#C879F2 #F28B79 #A3F279 #79DFF2
square
#C879F2 #F28B79 #A3F279 #79DFF2
split-complementary
#C879F2 #DFF279 #79F28B
monochromatic
#9715DB #B141ED #C879F2 #DFB1F7 #F4E3FC

Accessibility & contrast

On white

2.81
#C879F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#C879F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C879F2
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C879F2#FFFFFF#000000##000000
##C879F21.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C96F6
Deuteranopia (green-blind)
#749CEF
Tritanopia (blue-blind)
#C48CAB
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c879f2;
/* rgb */ color: rgb(200, 121, 242);
/* oklch */ color: oklch(70.8% 0.185 312.7);
Tailwind
colors: {
  custom: {
    50: '#dba2f7',
    500: '#c879f2',
    950: '#000000',
  },
}
SCSS
$custom: #c879f2;
$custom-light: #dba2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c879f2",
  "rgb": {
    "r": 200,
    "g": 121,
    "b": 242
  },
  "hsl": {
    "h": 279.174,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.70789,
    "c": 0.1853,
    "h": 312.7
  },
  "luminance": 0.32365
}

Semantic roles & 50–950 ramp

primary
#C879F2
secondary
#DFF3D3
accent
#DF0752
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C879F2

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

Preview Lab → · Contrast checker → · Palette generator →

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