#C970F8#C970F8

#C970F8 is a light, highly saturated violet. Relative luminance 0.308; OKLCH L 69.9% C 0.206 H 312.5°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#C970F8
RGBrgb(201, 112, 248)
HSLhsl(279, 91%, 71%)
HSVhsv(279, 55%, 97%)
CMYKcmyk(19%, 54.8%, 0%, 2.7%)
CIE-LABlab(62.33, 57.28, -54.21)
CIE-LCHlch(62.33, 78.87, 316.57°)
OKLaboklab(69.94% 0.139 -0.1518)
OKLCHoklch(69.94% 0.206 312.5)
XYZxyz(46.8219, 30.7843, 92.2642)
Luminance0.3078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C970F8 #9FF870
analogous
#8570F8 #C970F8 #F870E3
triadic
#C970F8 #F8C970 #70F8C9
tetradic
#C970F8 #F88570 #9FF870 #70E3F8
square
#C970F8 #F88570 #9FF870 #70E3F8
split-complementary
#C970F8 #E3F870 #70F885
monochromatic
#980BE3 #B336F5 #C970F8 #DFAAFB #F4E2FE

Accessibility & contrast

On white

2.93
#C970F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#C970F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C970F8
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C970F8#FFFFFF#000000##000000
##C970F81.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4992FC
Deuteranopia (green-blind)
#6999F5
Tritanopia (blue-blind)
#C487AA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c970f8;
/* rgb */ color: rgb(201, 112, 248);
/* oklch */ color: oklch(69.9% 0.206 312.5);
Tailwind
colors: {
  custom: {
    50: '#dc9cfb',
    500: '#c970f8',
    950: '#000000',
  },
}
SCSS
$custom: #c970f8;
$custom-light: #dc9cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#c970f8",
  "rgb": {
    "r": 201,
    "g": 112,
    "b": 248
  },
  "hsl": {
    "h": 279.265,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69941,
    "c": 0.20585,
    "h": 312.5
  },
  "luminance": 0.30783
}

Semantic roles & 50–950 ramp

primary
#C970F8
secondary
#DCF4CF
accent
#E6004F
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C970F8

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

Preview Lab → · Contrast checker → · Palette generator →

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