#C662FA#C662FA

#C662FA is a light, highly saturated violet. Relative luminance 0.276; OKLCH L 67.9% C 0.227 H 312.2°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#C662FA
RGBrgb(198, 98, 250)
HSLhsl(279, 94%, 68%)
HSVhsv(279, 61%, 98%)
CMYKcmyk(20.8%, 60.8%, 0%, 2%)
CIE-LABlab(59.57, 63.72, -59.74)
CIE-LCHlch(59.57, 87.34, 316.84°)
OKLaboklab(67.88% 0.1525 -0.168)
OKLCHoklch(67.88% 0.227 312.2)
XYZxyz(44.9086, 27.6444, 93.3941)
Luminance0.2764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C662FA #96FA62
analogous
#7A62FA #C662FA #FA62E2
triadic
#C662FA #FAC662 #62FAC6
tetradic
#C662FA #FA7A62 #96FA62 #62E2FA
square
#C662FA #FA7A62 #96FA62 #62E2FA
split-complementary
#C662FA #E2FA62 #62FA7A
monochromatic
#9207DB #B027F8 #C662FA #DC9DFC #F1D9FE

Accessibility & contrast

On white

3.22
#C662FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#C662FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C662FA
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C662FA#FFFFFF#000000##000000
##C662FA1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#258AFF
Deuteranopia (green-blind)
#5792F6
Tritanopia (blue-blind)
#C07FA5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c662fa;
/* rgb */ color: rgb(198, 98, 250);
/* oklch */ color: oklch(67.9% 0.227 312.2);
Tailwind
colors: {
  custom: {
    50: '#db94fd',
    500: '#c662fa',
    950: '#000000',
  },
}
SCSS
$custom: #c662fa;
$custom-light: #db94fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c662fa",
  "rgb": {
    "r": 198,
    "g": 98,
    "b": 250
  },
  "hsl": {
    "h": 279.474,
    "s": 93.827,
    "l": 68.235
  },
  "oklch": {
    "l": 0.67885,
    "c": 0.22688,
    "h": 312.2
  },
  "luminance": 0.27643
}

Semantic roles & 50–950 ramp

primary
#C662FA
secondary
#D5F3C5
accent
#E6004F
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C662FA

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

Preview Lab → · Contrast checker → · Palette generator →

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