#C872F7#C872F7

#C872F7 is a light, highly saturated violet. Relative luminance 0.310; OKLCH L 70.1% C 0.201 H 312.2°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#C872F7
RGBrgb(200, 114, 247)
HSLhsl(279, 89%, 71%)
HSVhsv(279, 54%, 97%)
CMYKcmyk(19%, 53.8%, 0%, 3.1%)
CIE-LABlab(62.53, 55.82, -53.34)
CIE-LCHlch(62.53, 77.21, 316.30°)
OKLaboklab(70.05% 0.1352 -0.1493)
OKLCHoklch(70.05% 0.201 312.2)
XYZxyz(46.6223, 31.0305, 91.5111)
Luminance0.3103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C872F7 #A1F772
analogous
#8572F7 #C872F7 #F772E3
triadic
#C872F7 #F7C872 #72F7C8
tetradic
#C872F7 #F78572 #A1F772 #72E3F7
square
#C872F7 #F78572 #A1F772 #72E3F7
split-complementary
#C872F7 #E3F772 #72F785
monochromatic
#970DE2 #B138F4 #C872F7 #DFACFA #F4E2FD

Accessibility & contrast

On white

2.91
#C872F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#C872F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C872F7
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C872F7#FFFFFF#000000##000000
##C872F71.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D93FB
Deuteranopia (green-blind)
#6A99F4
Tritanopia (blue-blind)
#C389AA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c872f7;
/* rgb */ color: rgb(200, 114, 247);
/* oklch */ color: oklch(70.1% 0.201 312.2);
Tailwind
colors: {
  custom: {
    50: '#db9efa',
    500: '#c872f7',
    950: '#000000',
  },
}
SCSS
$custom: #c872f7;
$custom-light: #db9efa;
$custom-dark: #000000;
JSON
{
  "hex": "#c872f7",
  "rgb": {
    "r": 200,
    "g": 114,
    "b": 247
  },
  "hsl": {
    "h": 278.797,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.70051,
    "c": 0.20144,
    "h": 312.2
  },
  "luminance": 0.31029
}

Semantic roles & 50–950 ramp

primary
#C872F7
secondary
#DDF4D1
accent
#E60051
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #C872F7

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

Preview Lab → · Contrast checker → · Palette generator →

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