#C970F2#C970F2

#C970F2 is a light, vivid purple. Relative luminance 0.304; OKLCH L 69.6% C 0.200 H 314.0°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#C970F2
RGBrgb(201, 112, 242)
HSLhsl(281, 83%, 69%)
HSVhsv(281, 54%, 95%)
CMYKcmyk(16.9%, 53.7%, 0%, 5.1%)
CIE-LABlab(62.01, 56.03, -51.40)
CIE-LCHlch(62.01, 76.03, 317.47°)
OKLaboklab(69.61% 0.1387 -0.1436)
OKLCHoklch(69.61% 0.2 314)
XYZxyz(45.9059, 30.4179, 87.4402)
Luminance0.3042 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C970F2 #99F270
analogous
#8870F2 #C970F2 #F270DA
triadic
#C970F2 #F2C970 #70F2C9
tetradic
#C970F2 #F28870 #99F270 #70DAF2
square
#C970F2 #F28870 #99F270 #70DAF2
split-complementary
#C970F2 #DAF270 #70F288
monochromatic
#9713D4 #B438ED #C970F2 #DEA8F7 #F3E0FC

Accessibility & contrast

On white

2.96
#C970F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#C970F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C970F2
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C970F2#FFFFFF#000000##000000
##C970F21.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F91F6
Deuteranopia (green-blind)
#6D98EF
Tritanopia (blue-blind)
#C685A7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c970f2;
/* rgb */ color: rgb(201, 112, 242);
/* oklch */ color: oklch(69.6% 0.200 314.0);
Tailwind
colors: {
  custom: {
    50: '#dc9cf7',
    500: '#c970f2',
    950: '#000000',
  },
}
SCSS
$custom: #c970f2;
$custom-light: #dc9cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#c970f2",
  "rgb": {
    "r": 201,
    "g": 112,
    "b": 242
  },
  "hsl": {
    "h": 281.077,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.6961,
    "c": 0.19961,
    "h": 314
  },
  "luminance": 0.30417
}

Semantic roles & 50–950 ramp

primary
#C970F2
secondary
#D8F2CC
accent
#E0064A
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C970F2

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

Preview Lab → · Contrast checker → · Palette generator →

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