#C870FA#C870FA

#C870FA is a light, highly saturated violet. Relative luminance 0.308; OKLCH L 69.9% C 0.208 H 311.6°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#C870FA
RGBrgb(200, 112, 250)
HSLhsl(278, 93%, 71%)
HSVhsv(278, 55%, 98%)
CMYKcmyk(20%, 55.2%, 0%, 2%)
CIE-LABlab(62.31, 57.45, -55.34)
CIE-LCHlch(62.31, 79.77, 316.07°)
OKLaboklab(69.94% 0.1379 -0.1551)
OKLCHoklch(69.94% 0.208 311.6)
XYZxyz(46.8658, 30.7709, 93.8945)
Luminance0.3077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C870FA #A2FA70
analogous
#8370FA #C870FA #FA70E7
triadic
#C870FA #FAC870 #70FAC8
tetradic
#C870FA #FA8370 #A2FA70 #70E7FA
square
#C870FA #FA8370 #A2FA70 #70E7FA
split-complementary
#C870FA #E7FA70 #70FA83
monochromatic
#9708E8 #B135F8 #C870FA #DFABFC #F4E1FE

Accessibility & contrast

On white

2.94
#C870FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#C870FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C870FA
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C870FA#FFFFFF#000000##000000
##C870FA1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4792FF
Deuteranopia (green-blind)
#6698F7
Tritanopia (blue-blind)
#C288AB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c870fa;
/* rgb */ color: rgb(200, 112, 250);
/* oklch */ color: oklch(69.9% 0.208 311.6);
Tailwind
colors: {
  custom: {
    50: '#dc9cfc',
    500: '#c870fa',
    950: '#000000',
  },
}
SCSS
$custom: #c870fa;
$custom-light: #dc9cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#c870fa",
  "rgb": {
    "r": 200,
    "g": 112,
    "b": 250
  },
  "hsl": {
    "h": 278.261,
    "s": 93.243,
    "l": 70.98
  },
  "oklch": {
    "l": 0.69941,
    "c": 0.20758,
    "h": 311.6
  },
  "luminance": 0.3077
}

Semantic roles & 50–950 ramp

primary
#C870FA
secondary
#DEF5D1
accent
#E60053
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C870FA

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

Preview Lab → · Contrast checker → · Palette generator →

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