#C874F9#C874F9

#C874F9 is a light, highly saturated violet. Relative luminance 0.316; OKLCH L 70.4% C 0.201 H 311.5°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#C874F9
RGBrgb(200, 116, 249)
HSLhsl(278, 92%, 72%)
HSVhsv(278, 53%, 98%)
CMYKcmyk(19.7%, 53.4%, 0%, 2.4%)
CIE-LABlab(63.02, 55.23, -53.67)
CIE-LCHlch(63.02, 77.01, 315.82°)
OKLaboklab(70.44% 0.1328 -0.1503)
OKLCHoklch(70.44% 0.201 311.5)
XYZxyz(47.1606, 31.6107, 93.2213)
Luminance0.3161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C874F9 #A5F974
analogous
#8674F9 #C874F9 #F974E7
triadic
#C874F9 #F9C874 #74F9C8
tetradic
#C874F9 #F98674 #A5F974 #74E7F9
square
#C874F9 #F98674 #A5F974 #74E7F9
split-complementary
#C874F9 #E7F974 #74F986
monochromatic
#970AE9 #B139F6 #C874F9 #DFAFFC #F3E2FE

Accessibility & contrast

On white

2.87
#C874F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#C874F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C874F9
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C874F9#FFFFFF#000000##000000
##C874F91.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F94FD
Deuteranopia (green-blind)
#6B9AF6
Tritanopia (blue-blind)
#C28BAC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c874f9;
/* rgb */ color: rgb(200, 116, 249);
/* oklch */ color: oklch(70.4% 0.201 311.5);
Tailwind
colors: {
  custom: {
    50: '#db9ffc',
    500: '#c874f9',
    950: '#000000',
  },
}
SCSS
$custom: #c874f9;
$custom-light: #db9ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#c874f9",
  "rgb": {
    "r": 200,
    "g": 116,
    "b": 249
  },
  "hsl": {
    "h": 277.895,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70443,
    "c": 0.20054,
    "h": 311.5
  },
  "luminance": 0.3161
}

Semantic roles & 50–950 ramp

primary
#C874F9
secondary
#E0F5D3
accent
#E60055
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C874F9

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

Preview Lab → · Contrast checker → · Palette generator →

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