#C874F8#C874F8

#C874F8 is a light, vivid violet. Relative luminance 0.315; OKLCH L 70.4% C 0.199 H 311.7°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#C874F8
RGBrgb(200, 116, 248)
HSLhsl(278, 90%, 71%)
HSVhsv(278, 53%, 97%)
CMYKcmyk(19.4%, 53.2%, 0%, 2.7%)
CIE-LABlab(62.97, 55.02, -53.20)
CIE-LCHlch(62.97, 76.54, 315.96°)
OKLaboklab(70.39% 0.1327 -0.1489)
OKLCHoklch(70.39% 0.199 311.7)
XYZxyz(47.0051, 31.5485, 92.4020)
Luminance0.3155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C874F8 #A4F874
analogous
#8674F8 #C874F8 #F874E6
triadic
#C874F8 #F8C874 #74F8C8
tetradic
#C874F8 #F88674 #A4F874 #74E6F8
square
#C874F8 #F88674 #A4F874 #74E6F8
split-complementary
#C874F8 #E6F874 #74F886
monochromatic
#970CE6 #B13AF5 #C874F8 #DFAEFB #F3E2FE

Accessibility & contrast

On white

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

On black

7.31
#C874F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C874F8
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C874F8#FFFFFF#000000##000000
##C874F81.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5094FC
Deuteranopia (green-blind)
#6B9AF5
Tritanopia (blue-blind)
#C38AAB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c874f8;
/* rgb */ color: rgb(200, 116, 248);
/* oklch */ color: oklch(70.4% 0.199 311.7);
Tailwind
colors: {
  custom: {
    50: '#db9ffb',
    500: '#c874f8',
    950: '#000000',
  },
}
SCSS
$custom: #c874f8;
$custom-light: #db9ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#c874f8",
  "rgb": {
    "r": 200,
    "g": 116,
    "b": 248
  },
  "hsl": {
    "h": 278.182,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70388,
    "c": 0.19948,
    "h": 311.7
  },
  "luminance": 0.31547
}

Semantic roles & 50–950 ramp

primary
#C874F8
secondary
#DFF5D3
accent
#E60053
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C874F8

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

Preview Lab → · Contrast checker → · Palette generator →

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