#C566FA#C566FA

#C566FA is a light, highly saturated violet. Relative luminance 0.283; OKLCH L 68.3% C 0.221 H 311.5°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#C566FA
RGBrgb(197, 102, 250)
HSLhsl(279, 94%, 69%)
HSVhsv(279, 59%, 98%)
CMYKcmyk(21.2%, 59.2%, 0%, 2%)
CIE-LABlab(60.14, 61.60, -58.83)
CIE-LCHlch(60.14, 85.19, 316.32°)
OKLaboklab(68.27% 0.1466 -0.1654)
OKLCHoklch(68.27% 0.221 311.5)
XYZxyz(45.0295, 28.2762, 93.5097)
Luminance0.2828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C566FA #9BFA66
analogous
#7B66FA #C566FA #FA66E5
triadic
#C566FA #FAC566 #66FAC5
tetradic
#C566FA #FA7B66 #9BFA66 #66E5FA
square
#C566FA #FA7B66 #9BFA66 #66E5FA
split-complementary
#C566FA #E5FA66 #66FA7B
monochromatic
#9107DE #AF2BF8 #C566FA #DBA1FC #F2DDFE

Accessibility & contrast

On white

3.16
#C566FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#C566FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C566FA
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C566FA#FFFFFF#000000##000000
##C566FA1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#308CFF
Deuteranopia (green-blind)
#5A93F6
Tritanopia (blue-blind)
#BF81A7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #c566fa;
/* rgb */ color: rgb(197, 102, 250);
/* oklch */ color: oklch(68.3% 0.221 311.5);
Tailwind
colors: {
  custom: {
    50: '#da96fd',
    500: '#c566fa',
    950: '#000000',
  },
}
SCSS
$custom: #c566fa;
$custom-light: #da96fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c566fa",
  "rgb": {
    "r": 197,
    "g": 102,
    "b": 250
  },
  "hsl": {
    "h": 278.514,
    "s": 93.671,
    "l": 69.02
  },
  "oklch": {
    "l": 0.68274,
    "c": 0.22098,
    "h": 311.5
  },
  "luminance": 0.28275
}

Semantic roles & 50–950 ramp

primary
#C566FA
secondary
#D8F4C8
accent
#E60052
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C566FA

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

Preview Lab → · Contrast checker → · Palette generator →

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