#C970E2#C970E2

#C970E2 is a light, vivid purple. Relative luminance 0.295; OKLCH L 68.8% C 0.183 H 318.5°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#C970E2
RGBrgb(201, 112, 226)
HSLhsl(287, 66%, 66%)
HSVhsv(287, 50%, 89%)
CMYKcmyk(11.1%, 50.4%, 0%, 11.4%)
CIE-LABlab(61.22, 52.79, -43.75)
CIE-LCHlch(61.22, 68.57, 320.35°)
OKLaboklab(68.77% 0.1372 -0.1214)
OKLCHoklch(68.77% 0.183 318.5)
XYZxyz(43.6072, 29.4984, 75.3335)
Luminance0.2950 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C970E2 #89E270
analogous
#9070E2 #C970E2 #E270C2
triadic
#C970E2 #E2C970 #70E2C9
tetradic
#C970E2 #E29070 #89E270 #70C2E2
square
#C970E2 #E29070 #89E270 #70C2E2
split-complementary
#C970E2 #C2E270 #70E290
monochromatic
#9424B3 #B63DD8 #C970E2 #DCA3EC #EFD6F7

Accessibility & contrast

On white

3.04
#C970E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#C970E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C970E2
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C970E2#FFFFFF#000000##000000
##C970E21.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8EE6
Deuteranopia (green-blind)
#7697DF
Tritanopia (blue-blind)
#C9809F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c970e2;
/* rgb */ color: rgb(201, 112, 226);
/* oklch */ color: oklch(68.8% 0.183 318.5);
Tailwind
colors: {
  custom: {
    50: '#dc9ceb',
    500: '#c970e2',
    950: '#000000',
  },
}
SCSS
$custom: #c970e2;
$custom-light: #dc9ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#c970e2",
  "rgb": {
    "r": 201,
    "g": 112,
    "b": 226
  },
  "hsl": {
    "h": 286.842,
    "s": 66.279,
    "l": 66.275
  },
  "oklch": {
    "l": 0.68767,
    "c": 0.18318,
    "h": 318.5
  },
  "luminance": 0.29497
}

Semantic roles & 50–950 ramp

primary
#C970E2
secondary
#CCEAC4
accent
#CE173F
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C970E2

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

Preview Lab → · Contrast checker → · Palette generator →

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