#C874FC#C874FC

#C874FC is a light, highly saturated violet. Relative luminance 0.318; OKLCH L 70.6% C 0.204 H 310.7°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#C874FC
RGBrgb(200, 116, 252)
HSLhsl(277, 96%, 72%)
HSVhsv(277, 54%, 99%)
CMYKcmyk(20.6%, 54%, 0%, 1.2%)
CIE-LABlab(63.18, 55.87, -55.07)
CIE-LCHlch(63.18, 78.45, 315.41°)
OKLaboklab(70.61% 0.133 -0.1544)
OKLCHoklch(70.61% 0.204 310.7)
XYZxyz(47.6323, 31.7994, 95.7053)
Luminance0.3180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C874FC #A8FC74
analogous
#8474FC #C874FC #FC74EC
triadic
#C874FC #FCC874 #74FCC8
tetradic
#C874FC #FC8474 #A8FC74 #74ECFC
square
#C874FC #FC8474 #A8FC74 #74ECFC
split-complementary
#C874FC #ECFC74 #74FC84
monochromatic
#9605F0 #B038FB #C874FC #E0B0FD #F3E1FE

Accessibility & contrast

On white

2.85
#C874FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#C874FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C874FC
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C874FC#FFFFFF#000000##000000
##C874FC1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C95FF
Deuteranopia (green-blind)
#699AF9
Tritanopia (blue-blind)
#C28CAD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c874fc;
/* rgb */ color: rgb(200, 116, 252);
/* oklch */ color: oklch(70.6% 0.204 310.7);
Tailwind
colors: {
  custom: {
    50: '#dc9ffe',
    500: '#c874fc',
    950: '#000000',
  },
}
SCSS
$custom: #c874fc;
$custom-light: #dc9ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#c874fc",
  "rgb": {
    "r": 200,
    "g": 116,
    "b": 252
  },
  "hsl": {
    "h": 277.059,
    "s": 95.775,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70609,
    "c": 0.20375,
    "h": 310.7
  },
  "luminance": 0.31798
}

Semantic roles & 50–950 ramp

primary
#C874FC
secondary
#E1F7D4
accent
#E60058
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C874FC

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

Preview Lab → · Contrast checker → · Palette generator →

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