#C562F9#C562F9

#C562F9 is a light, highly saturated violet. Relative luminance 0.274; OKLCH L 67.7% C 0.226 H 312.1°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#C562F9
RGBrgb(197, 98, 249)
HSLhsl(279, 93%, 68%)
HSVhsv(279, 61%, 98%)
CMYKcmyk(20.9%, 60.6%, 0%, 2.4%)
CIE-LABlab(59.39, 63.28, -59.48)
CIE-LCHlch(59.39, 86.85, 316.77°)
OKLaboklab(67.71% 0.1513 -0.1673)
OKLCHoklch(67.71% 0.226 312.1)
XYZxyz(44.4895, 27.4464, 92.5582)
Luminance0.2745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C562F9 #96F962
analogous
#7962F9 #C562F9 #F962E1
triadic
#C562F9 #F9C562 #62F9C5
tetradic
#C562F9 #F97962 #96F962 #62E1F9
square
#C562F9 #F97962 #96F962 #62E1F9
split-complementary
#C562F9 #E1F962 #62F979
monochromatic
#9108D8 #AF27F7 #C562F9 #DB9DFB #F1D8FE

Accessibility & contrast

On white

3.24
#C562F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#C562F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C562F9
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C562F9#FFFFFF#000000##000000
##C562F91.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#268AFE
Deuteranopia (green-blind)
#5791F5
Tritanopia (blue-blind)
#BF7EA5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c562f9;
/* rgb */ color: rgb(197, 98, 249);
/* oklch */ color: oklch(67.7% 0.226 312.1);
Tailwind
colors: {
  custom: {
    50: '#da94fc',
    500: '#c562f9',
    950: '#000000',
  },
}
SCSS
$custom: #c562f9;
$custom-light: #da94fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c562f9",
  "rgb": {
    "r": 197,
    "g": 98,
    "b": 249
  },
  "hsl": {
    "h": 279.338,
    "s": 92.638,
    "l": 68.039
  },
  "oklch": {
    "l": 0.67709,
    "c": 0.22554,
    "h": 312.1
  },
  "luminance": 0.27445
}

Semantic roles & 50–950 ramp

primary
#C562F9
secondary
#D4F2C4
accent
#E6004F
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #C562F9

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

Preview Lab → · Contrast checker → · Palette generator →

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