#C874FB#C874FB

#C874FB is a light, highly saturated violet. Relative luminance 0.317; OKLCH L 70.6% C 0.203 H 311.0°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#C874FB
RGBrgb(200, 116, 251)
HSLhsl(277, 94%, 72%)
HSVhsv(277, 54%, 98%)
CMYKcmyk(20.3%, 53.8%, 0%, 1.6%)
CIE-LABlab(63.12, 55.66, -54.60)
CIE-LCHlch(63.12, 77.97, 315.55°)
OKLaboklab(70.55% 0.1329 -0.153)
OKLCHoklch(70.55% 0.203 311)
XYZxyz(47.4742, 31.7361, 94.8729)
Luminance0.3174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C874FB #A7FB74
analogous
#8474FB #C874FB #FB74EB
triadic
#C874FB #FBC874 #74FBC8
tetradic
#C874FB #FB8474 #A7FB74 #74EBFB
square
#C874FB #FB8474 #A7FB74 #74EBFB
split-complementary
#C874FB #EBFB74 #74FB84
monochromatic
#9707EE #B039F9 #C874FB #E0AFFD #F3E1FE

Accessibility & contrast

On white

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

On black

7.35
#C874FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C874FB
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C874FB#FFFFFF#000000##000000
##C874FB1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D95FF
Deuteranopia (green-blind)
#699AF8
Tritanopia (blue-blind)
#C28BAD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c874fb;
/* rgb */ color: rgb(200, 116, 251);
/* oklch */ color: oklch(70.6% 0.203 311.0);
Tailwind
colors: {
  custom: {
    50: '#dc9ffd',
    500: '#c874fb',
    950: '#000000',
  },
}
SCSS
$custom: #c874fb;
$custom-light: #dc9ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#c874fb",
  "rgb": {
    "r": 200,
    "g": 116,
    "b": 251
  },
  "hsl": {
    "h": 277.333,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.70554,
    "c": 0.20268,
    "h": 311
  },
  "luminance": 0.31735
}

Semantic roles & 50–950 ramp

primary
#C874FB
secondary
#E1F6D4
accent
#E60057
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C874FB

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

Preview Lab → · Contrast checker → · Palette generator →

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