#C872FC#C872FC

#C872FC is a light, highly saturated violet. Relative luminance 0.313; OKLCH L 70.3% C 0.207 H 311.0°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#C872FC
RGBrgb(200, 114, 252)
HSLhsl(277, 96%, 72%)
HSVhsv(277, 55%, 99%)
CMYKcmyk(20.6%, 54.8%, 0%, 1.2%)
CIE-LABlab(62.80, 56.88, -55.68)
CIE-LCHlch(62.80, 79.59, 315.61°)
OKLaboklab(70.33% 0.1355 -0.1561)
OKLCHoklch(70.33% 0.207 311)
XYZxyz(47.4042, 31.3432, 95.6292)
Luminance0.3134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C872FC #A6FC72
analogous
#8372FC #C872FC #FC72EB
triadic
#C872FC #FCC872 #72FCC8
tetradic
#C872FC #FC8372 #A6FC72 #72EBFC
square
#C872FC #FC8372 #A6FC72 #72EBFC
split-complementary
#C872FC #EBFC72 #72FC83
monochromatic
#9705EF #B136FB #C872FC #DFAEFD #F3E1FE

Accessibility & contrast

On white

2.89
#C872FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#C872FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C872FC
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C872FC#FFFFFF#000000##000000
##C872FC1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4894FF
Deuteranopia (green-blind)
#679AF9
Tritanopia (blue-blind)
#C28AAC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c872fc;
/* rgb */ color: rgb(200, 114, 252);
/* oklch */ color: oklch(70.3% 0.207 311.0);
Tailwind
colors: {
  custom: {
    50: '#dc9efe',
    500: '#c872fc',
    950: '#000000',
  },
}
SCSS
$custom: #c872fc;
$custom-light: #dc9efe;
$custom-dark: #000000;
JSON
{
  "hex": "#c872fc",
  "rgb": {
    "r": 200,
    "g": 114,
    "b": 252
  },
  "hsl": {
    "h": 277.391,
    "s": 95.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.7033,
    "c": 0.20673,
    "h": 311
  },
  "luminance": 0.31342
}

Semantic roles & 50–950 ramp

primary
#C872FC
secondary
#E1F6D3
accent
#E60056
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #C872FC

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

Preview Lab → · Contrast checker → · Palette generator →

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