#C970FE#C970FE

#C970FE is a light, highly saturated violet. Relative luminance 0.312; OKLCH L 70.3% C 0.212 H 311.0°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#C970FE
RGBrgb(201, 112, 254)
HSLhsl(278, 99%, 72%)
HSVhsv(278, 56%, 100%)
CMYKcmyk(20.9%, 55.9%, 0%, 0.4%)
CIE-LABlab(62.64, 58.54, -57.01)
CIE-LCHlch(62.64, 81.72, 315.76°)
OKLaboklab(70.28% 0.1393 -0.16)
OKLCHoklch(70.28% 0.212 311)
XYZxyz(47.7677, 31.1626, 97.2454)
Luminance0.3116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C970FE #A5FE70
analogous
#8270FE #C970FE #FE70EC
triadic
#C970FE #FEC970 #70FEC9
tetradic
#C970FE #FE8270 #A5FE70 #70ECFE
square
#C970FE #FE8270 #A5FE70 #70ECFE
split-complementary
#C970FE #ECFE70 #70FE82
monochromatic
#9802F2 #B233FE #C970FE #E0ADFE #F4E1FF

Accessibility & contrast

On white

2.90
#C970FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#C970FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C970FE
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C970FE#FFFFFF#000000##000000
##C970FE1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4393FF
Deuteranopia (green-blind)
#6499FA
Tritanopia (blue-blind)
#C389AD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c970fe;
/* rgb */ color: rgb(201, 112, 254);
/* oklch */ color: oklch(70.3% 0.212 311.0);
Tailwind
colors: {
  custom: {
    50: '#dd9cff',
    500: '#c970fe',
    950: '#000000',
  },
}
SCSS
$custom: #c970fe;
$custom-light: #dd9cff;
$custom-dark: #000000;
JSON
{
  "hex": "#c970fe",
  "rgb": {
    "r": 201,
    "g": 112,
    "b": 254
  },
  "hsl": {
    "h": 277.606,
    "s": 98.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.70278,
    "c": 0.21213,
    "h": 311
  },
  "luminance": 0.31162
}

Semantic roles & 50–950 ramp

primary
#C970FE
secondary
#E0F7D3
accent
#E60056
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C970FE

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

Preview Lab → · Contrast checker → · Palette generator →

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