#C874FE#C874FE

#C874FE is a light, highly saturated violet. Relative luminance 0.319; OKLCH L 70.7% C 0.206 H 310.3°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#C874FE
RGBrgb(200, 116, 254)
HSLhsl(277, 99%, 73%)
HSVhsv(277, 54%, 100%)
CMYKcmyk(21.3%, 54.3%, 0%, 0.4%)
CIE-LABlab(63.28, 56.30, -56.00)
CIE-LCHlch(63.28, 79.41, 315.15°)
OKLaboklab(70.72% 0.1331 -0.1571)
OKLCHoklch(70.72% 0.206 310.3)
XYZxyz(47.9508, 31.9268, 97.3832)
Luminance0.3193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C874FE #AAFE74
analogous
#8374FE #C874FE #FE74EF
triadic
#C874FE #FEC874 #74FEC8
tetradic
#C874FE #FE8374 #AAFE74 #74EFFE
square
#C874FE #FE8374 #AAFE74 #74EFFE
split-complementary
#C874FE #EFFE74 #74FE83
monochromatic
#9602F6 #B037FE #C874FE #E0B1FE #F3E1FF

Accessibility & contrast

On white

2.84
#C874FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#C874FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C874FE
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C874FE#FFFFFF#000000##000000
##C874FE1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A95FF
Deuteranopia (green-blind)
#679BFB
Tritanopia (blue-blind)
#C18CAE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c874fe;
/* rgb */ color: rgb(200, 116, 254);
/* oklch */ color: oklch(70.7% 0.206 310.3);
Tailwind
colors: {
  custom: {
    50: '#dc9fff',
    500: '#c874fe',
    950: '#000000',
  },
}
SCSS
$custom: #c874fe;
$custom-light: #dc9fff;
$custom-dark: #000000;
JSON
{
  "hex": "#c874fe",
  "rgb": {
    "r": 200,
    "g": 116,
    "b": 254
  },
  "hsl": {
    "h": 276.522,
    "s": 98.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70721,
    "c": 0.20588,
    "h": 310.3
  },
  "luminance": 0.31926
}

Semantic roles & 50–950 ramp

primary
#C874FE
secondary
#E2F7D4
accent
#E6005A
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C874FE

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

Preview Lab → · Contrast checker → · Palette generator →

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