#C970FC#C970FC

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

Color values

HEX#C970FC
RGBrgb(201, 112, 252)
HSLhsl(278, 96%, 71%)
HSVhsv(278, 56%, 99%)
CMYKcmyk(20.2%, 55.6%, 0%, 1.2%)
CIE-LABlab(62.54, 58.12, -56.08)
CIE-LCHlch(62.54, 80.77, 316.02°)
OKLaboklab(70.17% 0.1392 -0.1573)
OKLCHoklch(70.17% 0.21 311.5)
XYZxyz(47.4491, 31.0352, 95.5674)
Luminance0.3103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C970FC #A3FC70
analogous
#8370FC #C970FC #FC70E9
triadic
#C970FC #FCC970 #70FCC9
tetradic
#C970FC #FC8370 #A3FC70 #70E9FC
square
#C970FC #FC8370 #A3FC70 #70E9FC
split-complementary
#C970FC #E9FC70 #70FC83
monochromatic
#9805ED #B234FB #C970FC #E0ACFD #F4E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C970FC#FFFFFF#000000##000000
##C970FC1.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)
#4593FF
Deuteranopia (green-blind)
#6699F9
Tritanopia (blue-blind)
#C389AC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c970fc;
/* rgb */ color: rgb(201, 112, 252);
/* oklch */ color: oklch(70.2% 0.210 311.5);
Tailwind
colors: {
  custom: {
    50: '#dc9cfe',
    500: '#c970fc',
    950: '#000000',
  },
}
SCSS
$custom: #c970fc;
$custom-light: #dc9cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#c970fc",
  "rgb": {
    "r": 201,
    "g": 112,
    "b": 252
  },
  "hsl": {
    "h": 278.143,
    "s": 95.89,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70165,
    "c": 0.21003,
    "h": 311.5
  },
  "luminance": 0.31034
}

Semantic roles & 50–950 ramp

primary
#C970FC
secondary
#DFF6D2
accent
#E60054
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C970FC

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

Preview Lab → · Contrast checker → · Palette generator →

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