#C562F8#C562F8

#C562F8 is a light, highly saturated violet. Relative luminance 0.274; OKLCH L 67.6% C 0.225 H 312.4°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#C562F8
RGBrgb(197, 98, 248)
HSLhsl(280, 91%, 68%)
HSVhsv(280, 60%, 97%)
CMYKcmyk(20.6%, 60.5%, 0%, 2.7%)
CIE-LABlab(59.33, 63.08, -59.02)
CIE-LCHlch(59.33, 86.38, 316.90°)
OKLaboklab(67.65% 0.1513 -0.1659)
OKLCHoklch(67.65% 0.225 312.4)
XYZxyz(44.3339, 27.3841, 91.7390)
Luminance0.2738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C562F8 #95F862
analogous
#7A62F8 #C562F8 #F862E0
triadic
#C562F8 #F8C562 #62F8C5
tetradic
#C562F8 #F87A62 #95F862 #62E0F8
square
#C562F8 #F87A62 #95F862 #62E0F8
split-complementary
#C562F8 #E0F862 #62F87A
monochromatic
#910AD6 #AF27F5 #C562F8 #DB9DFB #F0D7FD

Accessibility & contrast

On white

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

On black

6.48
#C562F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C562F8
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C562F8#FFFFFF#000000##000000
##C562F81.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#288AFD
Deuteranopia (green-blind)
#5791F4
Tritanopia (blue-blind)
#BF7EA4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c562f8;
/* rgb */ color: rgb(197, 98, 248);
/* oklch */ color: oklch(67.6% 0.225 312.4);
Tailwind
colors: {
  custom: {
    50: '#da94fb',
    500: '#c562f8',
    950: '#000000',
  },
}
SCSS
$custom: #c562f8;
$custom-light: #da94fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c562f8",
  "rgb": {
    "r": 197,
    "g": 98,
    "b": 248
  },
  "hsl": {
    "h": 279.6,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.67649,
    "c": 0.22455,
    "h": 312.4
  },
  "luminance": 0.27383
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C562F8

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

Preview Lab → · Contrast checker → · Palette generator →

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