#C874F6#C874F6

#C874F6 is a light, vivid violet. Relative luminance 0.314; OKLCH L 70.3% C 0.197 H 312.2°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#C874F6
RGBrgb(200, 116, 246)
HSLhsl(279, 88%, 71%)
HSVhsv(279, 53%, 96%)
CMYKcmyk(18.7%, 52.8%, 0%, 3.5%)
CIE-LABlab(62.86, 54.60, -52.26)
CIE-LCHlch(62.86, 75.58, 316.25°)
OKLaboklab(70.28% 0.1326 -0.1462)
OKLCHoklch(70.28% 0.197 312.2)
XYZxyz(46.6964, 31.4250, 90.7766)
Luminance0.3142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C874F6 #A2F674
analogous
#8774F6 #C874F6 #F674E3
triadic
#C874F6 #F6C874 #74F6C8
tetradic
#C874F6 #F68774 #A2F674 #74E3F6
square
#C874F6 #F68774 #A2F674 #74E3F6
split-complementary
#C874F6 #E3F674 #74F687
monochromatic
#970FE1 #B13BF2 #C874F6 #DFADFA #F4E2FD

Accessibility & contrast

On white

2.88
#C874F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#C874F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C874F6
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C874F6#FFFFFF#000000##000000
##C874F61.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5194FA
Deuteranopia (green-blind)
#6D9AF3
Tritanopia (blue-blind)
#C38AAA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c874f6;
/* rgb */ color: rgb(200, 116, 246);
/* oklch */ color: oklch(70.3% 0.197 312.2);
Tailwind
colors: {
  custom: {
    50: '#db9ffa',
    500: '#c874f6',
    950: '#000000',
  },
}
SCSS
$custom: #c874f6;
$custom-light: #db9ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#c874f6",
  "rgb": {
    "r": 200,
    "g": 116,
    "b": 246
  },
  "hsl": {
    "h": 278.769,
    "s": 87.838,
    "l": 70.98
  },
  "oklch": {
    "l": 0.70279,
    "c": 0.19734,
    "h": 312.2
  },
  "luminance": 0.31424
}

Semantic roles & 50–950 ramp

primary
#C874F6
secondary
#DEF4D2
accent
#E40152
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C874F6

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

Preview Lab → · Contrast checker → · Palette generator →

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