#C874F7#C874F7

#C874F7 is a light, vivid violet. Relative luminance 0.315; OKLCH L 70.3% C 0.198 H 312.0°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#C874F7
RGBrgb(200, 116, 247)
HSLhsl(278, 89%, 71%)
HSVhsv(278, 53%, 97%)
CMYKcmyk(19%, 53%, 0%, 3.1%)
CIE-LABlab(62.92, 54.81, -52.73)
CIE-LCHlch(62.92, 76.06, 316.11°)
OKLaboklab(70.33% 0.1327 -0.1475)
OKLCHoklch(70.33% 0.198 312)
XYZxyz(46.8503, 31.4866, 91.5872)
Luminance0.3149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C874F7 #A3F774
analogous
#8674F7 #C874F7 #F774E5
triadic
#C874F7 #F7C874 #74F7C8
tetradic
#C874F7 #F78674 #A3F774 #74E5F7
square
#C874F7 #F78674 #A3F774 #74E5F7
split-complementary
#C874F7 #E5F774 #74F786
monochromatic
#970DE4 #B13AF4 #C874F7 #DFAEFA #F4E2FD

Accessibility & contrast

On white

2.88
#C874F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#C874F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C874F7
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C874F7#FFFFFF#000000##000000
##C874F71.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c874f7;
/* rgb */ color: rgb(200, 116, 247);
/* oklch */ color: oklch(70.3% 0.198 312.0);
Tailwind
colors: {
  custom: {
    50: '#db9ffa',
    500: '#c874f7',
    950: '#000000',
  },
}
SCSS
$custom: #c874f7;
$custom-light: #db9ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#c874f7",
  "rgb": {
    "r": 200,
    "g": 116,
    "b": 247
  },
  "hsl": {
    "h": 278.473,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.70333,
    "c": 0.19841,
    "h": 312
  },
  "luminance": 0.31486
}

Semantic roles & 50–950 ramp

primary
#C874F7
secondary
#DFF5D2
accent
#E60052
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C874F7

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

Preview Lab → · Contrast checker → · Palette generator →

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