#C662FD#C662FD

#C662FD is a light, highly saturated violet. Relative luminance 0.278; OKLCH L 68.1% C 0.230 H 311.5°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#C662FD
RGBrgb(198, 98, 253)
HSLhsl(279, 97%, 69%)
HSVhsv(279, 61%, 99%)
CMYKcmyk(21.7%, 61.3%, 0%, 0.8%)
CIE-LABlab(59.74, 64.34, -61.12)
CIE-LCHlch(59.74, 88.75, 316.47°)
OKLaboklab(68.07% 0.1524 -0.172)
OKLCHoklch(68.07% 0.23 311.5)
XYZxyz(45.3828, 27.8341, 95.8913)
Luminance0.2783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C662FD #99FD62
analogous
#7962FD #C662FD #FD62E6
triadic
#C662FD #FDC662 #62FDC6
tetradic
#C662FD #FD7962 #99FD62 #62E6FD
square
#C662FD #FD7962 #99FD62 #62E6FD
split-complementary
#C662FD #E6FD62 #62FD79
monochromatic
#9303E2 #B026FC #C662FD #DC9EFE #F2DBFF

Accessibility & contrast

On white

3.20
#C662FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#C662FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C662FD
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C662FD#FFFFFF#000000##000000
##C662FD1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E8BFF
Deuteranopia (green-blind)
#5492F9
Tritanopia (blue-blind)
#BF80A7
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #c662fd;
/* rgb */ color: rgb(198, 98, 253);
/* oklch */ color: oklch(68.1% 0.230 311.5);
Tailwind
colors: {
  custom: {
    50: '#db94ff',
    500: '#c662fd',
    950: '#000000',
  },
}
SCSS
$custom: #c662fd;
$custom-light: #db94ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c662fd",
  "rgb": {
    "r": 198,
    "g": 98,
    "b": 253
  },
  "hsl": {
    "h": 278.71,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.68065,
    "c": 0.22985,
    "h": 311.5
  },
  "luminance": 0.27833
}

Semantic roles & 50–950 ramp

primary
#C662FD
secondary
#D7F4C6
accent
#E60051
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C662FD

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

Preview Lab → · Contrast checker → · Palette generator →

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