#C470F2#C470F2

#C470F2 is a light, vivid violet. Relative luminance 0.297; OKLCH L 69.1% C 0.198 H 312.2°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#C470F2
RGBrgb(196, 112, 242)
HSLhsl(279, 83%, 69%)
HSVhsv(279, 54%, 95%)
CMYKcmyk(19%, 53.7%, 0%, 5.1%)
CIE-LABlab(61.43, 54.76, -52.36)
CIE-LCHlch(61.43, 75.77, 316.28°)
OKLaboklab(69.05% 0.1327 -0.1466)
OKLCHoklch(69.05% 0.198 312.2)
XYZxyz(44.5833, 29.7359, 87.3782)
Luminance0.2974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C470F2 #9EF270
analogous
#8370F2 #C470F2 #F270DF
triadic
#C470F2 #F2C470 #70F2C4
tetradic
#C470F2 #F28370 #9EF270 #70DFF2
square
#C470F2 #F28370 #9EF270 #70DFF2
split-complementary
#C470F2 #DFF270 #70F283
monochromatic
#9013D4 #AD38ED #C470F2 #DBA8F7 #F2E0FC

Accessibility & contrast

On white

3.02
#C470F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#C470F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C470F2
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C470F2#FFFFFF#000000##000000
##C470F21.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C90F6
Deuteranopia (green-blind)
#6896EF
Tritanopia (blue-blind)
#BF86A7
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c470f2;
/* rgb */ color: rgb(196, 112, 242);
/* oklch */ color: oklch(69.1% 0.198 312.2);
Tailwind
colors: {
  custom: {
    50: '#d99cf7',
    500: '#c470f2',
    950: '#000000',
  },
}
SCSS
$custom: #c470f2;
$custom-light: #d99cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#c470f2",
  "rgb": {
    "r": 196,
    "g": 112,
    "b": 242
  },
  "hsl": {
    "h": 278.769,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.69051,
    "c": 0.1977,
    "h": 312.2
  },
  "luminance": 0.29735
}

Semantic roles & 50–950 ramp

primary
#C470F2
secondary
#D9F2CC
accent
#E00653
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C470F2

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

Preview Lab → · Contrast checker → · Palette generator →

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