#C662FC#C662FC

#C662FC is a light, highly saturated violet. Relative luminance 0.278; OKLCH L 68.0% C 0.229 H 311.8°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#C662FC
RGBrgb(198, 98, 252)
HSLhsl(279, 96%, 69%)
HSVhsv(279, 61%, 99%)
CMYKcmyk(21.4%, 61.1%, 0%, 1.2%)
CIE-LABlab(59.68, 64.13, -60.66)
CIE-LCHlch(59.68, 88.28, 316.59°)
OKLaboklab(68.01% 0.1525 -0.1707)
OKLCHoklch(68.01% 0.229 311.8)
XYZxyz(45.2239, 27.7705, 95.0545)
Luminance0.2777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C662FC #98FC62
analogous
#7962FC #C662FC #FC62E5
triadic
#C662FC #FCC662 #62FCC6
tetradic
#C662FC #FC7962 #98FC62 #62E5FC
square
#C662FC #FC7962 #98FC62 #62E5FC
split-complementary
#C662FC #E5FC62 #62FC79
monochromatic
#9304DF #B026FB #C662FC #DC9EFD #F2DAFE

Accessibility & contrast

On white

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

On black

6.55
#C662FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C662FC
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C662FC#FFFFFF#000000##000000
##C662FC1.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#218BFF
Deuteranopia (green-blind)
#5592F8
Tritanopia (blue-blind)
#C07FA6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #c662fc;
/* rgb */ color: rgb(198, 98, 252);
/* oklch */ color: oklch(68.0% 0.229 311.8);
Tailwind
colors: {
  custom: {
    50: '#db94fe',
    500: '#c662fc',
    950: '#000000',
  },
}
SCSS
$custom: #c662fc;
$custom-light: #db94fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c662fc",
  "rgb": {
    "r": 198,
    "g": 98,
    "b": 252
  },
  "hsl": {
    "h": 278.961,
    "s": 96.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.68005,
    "c": 0.22886,
    "h": 311.8
  },
  "luminance": 0.27769
}

Semantic roles & 50–950 ramp

primary
#C662FC
secondary
#D6F4C6
accent
#E60050
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C662FC

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

Preview Lab → · Contrast checker → · Palette generator →

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