#C874FA#C874FA

#C874FA is a light, highly saturated violet. Relative luminance 0.317; OKLCH L 70.5% C 0.202 H 311.2°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#C874FA
RGBrgb(200, 116, 250)
HSLhsl(278, 93%, 72%)
HSVhsv(278, 54%, 98%)
CMYKcmyk(20%, 53.6%, 0%, 2%)
CIE-LABlab(63.07, 55.45, -54.14)
CIE-LCHlch(63.07, 77.49, 315.69°)
OKLaboklab(70.5% 0.1329 -0.1516)
OKLCHoklch(70.5% 0.202 311.2)
XYZxyz(47.3170, 31.6733, 94.0449)
Luminance0.3167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C874FA #A6FA74
analogous
#8574FA #C874FA #FA74E9
triadic
#C874FA #FAC874 #74FAC8
tetradic
#C874FA #FA8574 #A6FA74 #74E9FA
square
#C874FA #FA8574 #A6FA74 #74E9FA
split-complementary
#C874FA #E9FA74 #74FA85
monochromatic
#9708EB #B139F8 #C874FA #DFAFFC #F3E1FE

Accessibility & contrast

On white

2.86
#C874FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#C874FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C874FA
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C874FA#FFFFFF#000000##000000
##C874FA1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E94FE
Deuteranopia (green-blind)
#6A9AF7
Tritanopia (blue-blind)
#C28BAC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c874fa;
/* rgb */ color: rgb(200, 116, 250);
/* oklch */ color: oklch(70.5% 0.202 311.2);
Tailwind
colors: {
  custom: {
    50: '#db9ffc',
    500: '#c874fa',
    950: '#000000',
  },
}
SCSS
$custom: #c874fa;
$custom-light: #db9ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#c874fa",
  "rgb": {
    "r": 200,
    "g": 116,
    "b": 250
  },
  "hsl": {
    "h": 277.612,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.70498,
    "c": 0.20161,
    "h": 311.2
  },
  "luminance": 0.31672
}

Semantic roles & 50–950 ramp

primary
#C874FA
secondary
#E1F6D4
accent
#E60056
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C874FA

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

Preview Lab → · Contrast checker → · Palette generator →

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