#C879F4#C879F4

#C879F4 is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.9% C 0.187 H 312.2°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#C879F4
RGBrgb(200, 121, 244)
HSLhsl(279, 85%, 72%)
HSVhsv(279, 50%, 96%)
CMYKcmyk(18%, 50.4%, 0%, 4.3%)
CIE-LABlab(63.74, 51.62, -49.77)
CIE-LCHlch(63.74, 71.70, 316.05°)
OKLaboklab(70.89% 0.1259 -0.1389)
OKLCHoklch(70.89% 0.187 312.2)
XYZxyz(46.9831, 32.4868, 89.3660)
Luminance0.3249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C879F4 #A5F479
analogous
#8B79F4 #C879F4 #F479E2
triadic
#C879F4 #F4C879 #79F4C8
tetradic
#C879F4 #F48B79 #A5F479 #79E2F4
square
#C879F4 #F48B79 #A5F479 #79E2F4
split-complementary
#C879F4 #E2F479 #79F48B
monochromatic
#9712E0 #B140EF #C879F4 #DFB2F9 #F3E3FD

Accessibility & contrast

On white

2.80
#C879F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#C879F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C879F4
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C879F4#FFFFFF#000000##000000
##C879F41.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B96F8
Deuteranopia (green-blind)
#739CF1
Tritanopia (blue-blind)
#C38DAB
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c879f4;
/* rgb */ color: rgb(200, 121, 244);
/* oklch */ color: oklch(70.9% 0.187 312.2);
Tailwind
colors: {
  custom: {
    50: '#dba2f8',
    500: '#c879f4',
    950: '#000000',
  },
}
SCSS
$custom: #c879f4;
$custom-light: #dba2f8;
$custom-dark: #000000;
JSON
{
  "hex": "#c879f4",
  "rgb": {
    "r": 200,
    "g": 121,
    "b": 244
  },
  "hsl": {
    "h": 278.537,
    "s": 84.828,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70894,
    "c": 0.18747,
    "h": 312.2
  },
  "luminance": 0.32486
}

Semantic roles & 50–950 ramp

primary
#C879F4
secondary
#E0F4D5
accent
#E10453
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C879F4

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

Preview Lab → · Contrast checker → · Palette generator →

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