#C874FD#C874FD

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

Color values

HEX#C874FD
RGBrgb(200, 116, 253)
HSLhsl(277, 97%, 72%)
HSVhsv(277, 54%, 99%)
CMYKcmyk(20.9%, 54.2%, 0%, 0.8%)
CIE-LABlab(63.23, 56.09, -55.54)
CIE-LCHlch(63.23, 78.93, 315.28°)
OKLaboklab(70.67% 0.133 -0.1557)
OKLCHoklch(70.67% 0.205 310.5)
XYZxyz(47.7911, 31.8629, 96.5420)
Luminance0.3186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C874FD #A9FD74
analogous
#8374FD #C874FD #FD74EE
triadic
#C874FD #FDC874 #74FDC8
tetradic
#C874FD #FD8374 #A9FD74 #74EEFD
square
#C874FD #FD8374 #A9FD74 #74EEFD
split-complementary
#C874FD #EEFD74 #74FD83
monochromatic
#9603F3 #B038FC #C874FD #E0B0FE #F3E1FF

Accessibility & contrast

On white

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

On black

7.37
#C874FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C874FD
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C874FD#FFFFFF#000000##000000
##C874FD1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B95FF
Deuteranopia (green-blind)
#689BFA
Tritanopia (blue-blind)
#C18CAE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c874fd;
/* rgb */ color: rgb(200, 116, 253);
/* oklch */ color: oklch(70.7% 0.205 310.5);
Tailwind
colors: {
  custom: {
    50: '#dc9fff',
    500: '#c874fd',
    950: '#000000',
  },
}
SCSS
$custom: #c874fd;
$custom-light: #dc9fff;
$custom-dark: #000000;
JSON
{
  "hex": "#c874fd",
  "rgb": {
    "r": 200,
    "g": 116,
    "b": 253
  },
  "hsl": {
    "h": 276.788,
    "s": 97.163,
    "l": 72.353
  },
  "oklch": {
    "l": 0.70665,
    "c": 0.20481,
    "h": 310.5
  },
  "luminance": 0.31862
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C874FD

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

Preview Lab → · Contrast checker → · Palette generator →

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