#C562FA#C562FA

#C562FA is a light, highly saturated violet. Relative luminance 0.275; OKLCH L 67.8% C 0.227 H 311.9°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#C562FA
RGBrgb(197, 98, 250)
HSLhsl(279, 94%, 68%)
HSVhsv(279, 61%, 98%)
CMYKcmyk(21.2%, 60.8%, 0%, 2%)
CIE-LABlab(59.44, 63.49, -59.95)
CIE-LCHlch(59.44, 87.32, 316.64°)
OKLaboklab(67.77% 0.1513 -0.1686)
OKLCHoklch(67.77% 0.227 311.9)
XYZxyz(44.6458, 27.5089, 93.3818)
Luminance0.2751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C562FA #97FA62
analogous
#7962FA #C562FA #FA62E3
triadic
#C562FA #FAC562 #62FAC5
tetradic
#C562FA #FA7962 #97FA62 #62E3FA
square
#C562FA #FA7962 #97FA62 #62E3FA
split-complementary
#C562FA #E3FA62 #62FA79
monochromatic
#9107DB #AF27F8 #C562FA #DB9DFC #F1D9FE

Accessibility & contrast

On white

3.23
#C562FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#C562FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C562FA
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C562FA#FFFFFF#000000##000000
##C562FA1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#248AFF
Deuteranopia (green-blind)
#5691F6
Tritanopia (blue-blind)
#BF7FA5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c562fa;
/* rgb */ color: rgb(197, 98, 250);
/* oklch */ color: oklch(67.8% 0.227 311.9);
Tailwind
colors: {
  custom: {
    50: '#da94fd',
    500: '#c562fa',
    950: '#000000',
  },
}
SCSS
$custom: #c562fa;
$custom-light: #da94fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c562fa",
  "rgb": {
    "r": 197,
    "g": 98,
    "b": 250
  },
  "hsl": {
    "h": 279.079,
    "s": 93.827,
    "l": 68.235
  },
  "oklch": {
    "l": 0.67769,
    "c": 0.22654,
    "h": 311.9
  },
  "luminance": 0.27508
}

Semantic roles & 50–950 ramp

primary
#C562FA
secondary
#D5F3C5
accent
#E60050
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #C562FA

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

Preview Lab → · Contrast checker → · Palette generator →

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