#C566FC#C566FC

#C566FC is a light, highly saturated violet. Relative luminance 0.284; OKLCH L 68.4% C 0.223 H 311.1°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#C566FC
RGBrgb(197, 102, 252)
HSLhsl(278, 96%, 69%)
HSVhsv(278, 60%, 99%)
CMYKcmyk(21.8%, 59.5%, 0%, 1.2%)
CIE-LABlab(60.25, 62.02, -59.76)
CIE-LCHlch(60.25, 86.13, 316.07°)
OKLaboklab(68.39% 0.1466 -0.1681)
OKLCHoklch(68.39% 0.223 311.1)
XYZxyz(45.3448, 28.4023, 95.1701)
Luminance0.2840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C566FC #9DFC66
analogous
#7A66FC #C566FC #FC66E8
triadic
#C566FC #FCC566 #66FCC5
tetradic
#C566FC #FC7A66 #9DFC66 #66E8FC
square
#C566FC #FC7A66 #9DFC66 #66E8FC
split-complementary
#C566FC #E8FC66 #66FC7A
monochromatic
#9104E3 #AE2AFB #C566FC #DCA2FD #F3DEFE

Accessibility & contrast

On white

3.14
#C566FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#C566FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C566FC
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C566FC#FFFFFF#000000##000000
##C566FC1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C8DFF
Deuteranopia (green-blind)
#5893F8
Tritanopia (blue-blind)
#BE82A8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #c566fc;
/* rgb */ color: rgb(197, 102, 252);
/* oklch */ color: oklch(68.4% 0.223 311.1);
Tailwind
colors: {
  custom: {
    50: '#da96fe',
    500: '#c566fc',
    950: '#000000',
  },
}
SCSS
$custom: #c566fc;
$custom-light: #da96fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c566fc",
  "rgb": {
    "r": 197,
    "g": 102,
    "b": 252
  },
  "hsl": {
    "h": 278,
    "s": 96.154,
    "l": 69.412
  },
  "oklch": {
    "l": 0.68392,
    "c": 0.22301,
    "h": 311.1
  },
  "luminance": 0.28401
}

Semantic roles & 50–950 ramp

primary
#C566FC
secondary
#D9F5C9
accent
#E60054
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C566FC

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

Preview Lab → · Contrast checker → · Palette generator →

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