#C562F7#C562F7

#C562F7 is a light, highly saturated violet. Relative luminance 0.273; OKLCH L 67.6% C 0.224 H 312.6°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#C562F7
RGBrgb(197, 98, 247)
HSLhsl(280, 90%, 68%)
HSVhsv(280, 60%, 97%)
CMYKcmyk(20.2%, 60.3%, 0%, 3.1%)
CIE-LABlab(59.27, 62.87, -58.56)
CIE-LCHlch(59.27, 85.92, 317.03°)
OKLaboklab(67.59% 0.1513 -0.1646)
OKLCHoklch(67.59% 0.224 312.6)
XYZxyz(44.1792, 27.3222, 90.9241)
Luminance0.2732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C562F7 #94F762
analogous
#7B62F7 #C562F7 #F762DE
triadic
#C562F7 #F7C562 #62F7C5
tetradic
#C562F7 #F77B62 #94F762 #62DEF7
square
#C562F7 #F77B62 #94F762 #62DEF7
split-complementary
#C562F7 #DEF762 #62F77B
monochromatic
#900BD4 #AF28F4 #C562F7 #DB9CFA #F0D6FD

Accessibility & contrast

On white

3.25
#C562F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#C562F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C562F7
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C562F7#FFFFFF#000000##000000
##C562F71.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A8AFC
Deuteranopia (green-blind)
#5891F3
Tritanopia (blue-blind)
#C07EA4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c562f7;
/* rgb */ color: rgb(197, 98, 247);
/* oklch */ color: oklch(67.6% 0.224 312.6);
Tailwind
colors: {
  custom: {
    50: '#da94fa',
    500: '#c562f7',
    950: '#000000',
  },
}
SCSS
$custom: #c562f7;
$custom-light: #da94fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c562f7",
  "rgb": {
    "r": 197,
    "g": 98,
    "b": 247
  },
  "hsl": {
    "h": 279.866,
    "s": 90.303,
    "l": 67.647
  },
  "oklch": {
    "l": 0.6759,
    "c": 0.22355,
    "h": 312.6
  },
  "luminance": 0.27321
}

Semantic roles & 50–950 ramp

primary
#C562F7
secondary
#D3F2C3
accent
#E6004D
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #C562F7

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

Preview Lab → · Contrast checker → · Palette generator →

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