#C970FB#C970FB

#C970FB is a light, highly saturated violet. Relative luminance 0.310; OKLCH L 70.1% C 0.209 H 311.8°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#C970FB
RGBrgb(201, 112, 251)
HSLhsl(278, 95%, 71%)
HSVhsv(278, 55%, 98%)
CMYKcmyk(19.9%, 55.4%, 0%, 1.6%)
CIE-LABlab(62.48, 57.91, -55.62)
CIE-LCHlch(62.48, 80.29, 316.16°)
OKLaboklab(70.11% 0.1392 -0.1559)
OKLCHoklch(70.11% 0.209 311.8)
XYZxyz(47.2910, 30.9720, 94.7350)
Luminance0.3097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C970FB #A2FB70
analogous
#8370FB #C970FB #FB70E8
triadic
#C970FB #FBC970 #70FBC9
tetradic
#C970FB #FB8370 #A2FB70 #70E8FB
square
#C970FB #FB8370 #A2FB70 #70E8FB
split-complementary
#C970FB #E8FB70 #70FB83
monochromatic
#9807EA #B334F9 #C970FB #DFACFD #F4E1FE

Accessibility & contrast

On white

2.92
#C970FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#C970FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C970FB
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C970FB#FFFFFF#000000##000000
##C970FB1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4693FF
Deuteranopia (green-blind)
#6699F8
Tritanopia (blue-blind)
#C388AB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c970fb;
/* rgb */ color: rgb(201, 112, 251);
/* oklch */ color: oklch(70.1% 0.209 311.8);
Tailwind
colors: {
  custom: {
    50: '#dc9cfd',
    500: '#c970fb',
    950: '#000000',
  },
}
SCSS
$custom: #c970fb;
$custom-light: #dc9cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#c970fb",
  "rgb": {
    "r": 201,
    "g": 112,
    "b": 251
  },
  "hsl": {
    "h": 278.417,
    "s": 94.558,
    "l": 71.176
  },
  "oklch": {
    "l": 0.70109,
    "c": 0.20898,
    "h": 311.8
  },
  "luminance": 0.30971
}

Semantic roles & 50–950 ramp

primary
#C970FB
secondary
#DEF6D1
accent
#E60053
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C970FB

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

Preview Lab → · Contrast checker → · Palette generator →

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