#C870FF#C870FF

#C870FF is a light, highly saturated violet. Relative luminance 0.311; OKLCH L 70.2% C 0.213 H 310.5°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#C870FF
RGBrgb(200, 112, 255)
HSLhsl(277, 100%, 72%)
HSVhsv(277, 56%, 100%)
CMYKcmyk(21.6%, 56.1%, 0%, 0%)
CIE-LABlab(62.58, 58.51, -57.67)
CIE-LCHlch(62.58, 82.15, 315.42°)
OKLaboklab(70.23% 0.1381 -0.1619)
OKLCHoklch(70.23% 0.213 310.5)
XYZxyz(47.6602, 31.0886, 98.0784)
Luminance0.3109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C870FF #A7FF70
analogous
#8170FF #C870FF #FF70EF
triadic
#C870FF #FFC870 #70FFC8
tetradic
#C870FF #FF8170 #A7FF70 #70EFFF
square
#C870FF #FF8170 #A7FF70 #70EFFF
split-complementary
#C870FF #EFFF70 #70FF81
monochromatic
#9700F5 #B033FF #C870FF #E0ADFF #F3E0FF

Accessibility & contrast

On white

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

On black

7.22
#C870FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C870FF
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C870FF#FFFFFF#000000##000000
##C870FF1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4193FF
Deuteranopia (green-blind)
#6399FB
Tritanopia (blue-blind)
#C18AAD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c870ff;
/* rgb */ color: rgb(200, 112, 255);
/* oklch */ color: oklch(70.2% 0.213 310.5);
Tailwind
colors: {
  custom: {
    50: '#dc9cff',
    500: '#c870ff',
    950: '#000000',
  },
}
SCSS
$custom: #c870ff;
$custom-light: #dc9cff;
$custom-dark: #000000;
JSON
{
  "hex": "#c870ff",
  "rgb": {
    "r": 200,
    "g": 112,
    "b": 255
  },
  "hsl": {
    "h": 276.923,
    "s": 100,
    "l": 71.961
  },
  "oklch": {
    "l": 0.70225,
    "c": 0.21283,
    "h": 310.5
  },
  "luminance": 0.31088
}

Semantic roles & 50–950 ramp

primary
#C870FF
secondary
#E1F7D3
accent
#E60058
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C870FF

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

Preview Lab → · Contrast checker → · Palette generator →

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