#C970FD#C970FD

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

Color values

HEX#C970FD
RGBrgb(201, 112, 253)
HSLhsl(278, 97%, 72%)
HSVhsv(278, 56%, 99%)
CMYKcmyk(20.6%, 55.7%, 0%, 0.8%)
CIE-LABlab(62.59, 58.33, -56.55)
CIE-LCHlch(62.59, 81.24, 315.89°)
OKLaboklab(70.22% 0.1393 -0.1586)
OKLCHoklch(70.22% 0.211 311.3)
XYZxyz(47.6080, 31.0987, 96.4042)
Luminance0.3110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C970FD #A4FD70
analogous
#8370FD #C970FD #FD70EB
triadic
#C970FD #FDC970 #70FDC9
tetradic
#C970FD #FD8370 #A4FD70 #70EBFD
square
#C970FD #FD8370 #A4FD70 #70EBFD
split-complementary
#C970FD #EBFD70 #70FD83
monochromatic
#9803EF #B234FC #C970FD #E0ACFE #F4E1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C970FD#FFFFFF#000000##000000
##C970FD1.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)
#4493FF
Deuteranopia (green-blind)
#6599FA
Tritanopia (blue-blind)
#C389AC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c970fd;
/* rgb */ color: rgb(201, 112, 253);
/* oklch */ color: oklch(70.2% 0.211 311.3);
Tailwind
colors: {
  custom: {
    50: '#dc9cff',
    500: '#c970fd',
    950: '#000000',
  },
}
SCSS
$custom: #c970fd;
$custom-light: #dc9cff;
$custom-dark: #000000;
JSON
{
  "hex": "#c970fd",
  "rgb": {
    "r": 201,
    "g": 112,
    "b": 253
  },
  "hsl": {
    "h": 277.872,
    "s": 97.241,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70222,
    "c": 0.21108,
    "h": 311.3
  },
  "luminance": 0.31098
}

Semantic roles & 50–950 ramp

primary
#C970FD
secondary
#E0F7D2
accent
#E60055
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C970FD

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

Preview Lab → · Contrast checker → · Palette generator →

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