#C662FB#C662FB

#C662FB is a light, highly saturated violet. Relative luminance 0.277; OKLCH L 67.9% C 0.228 H 312.0°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#C662FB
RGBrgb(198, 98, 251)
HSLhsl(279, 95%, 68%)
HSVhsv(279, 61%, 98%)
CMYKcmyk(21.1%, 61%, 0%, 1.6%)
CIE-LABlab(59.62, 63.92, -60.20)
CIE-LCHlch(59.62, 87.81, 316.72°)
OKLaboklab(67.94% 0.1525 -0.1693)
OKLCHoklch(67.94% 0.228 312)
XYZxyz(45.0658, 27.7073, 94.2221)
Luminance0.2771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C662FB #97FB62
analogous
#7962FB #C662FB #FB62E3
triadic
#C662FB #FBC662 #62FBC6
tetradic
#C662FB #FB7962 #97FB62 #62E3FB
square
#C662FB #FB7962 #97FB62 #62E3FB
split-complementary
#C662FB #E3FB62 #62FB79
monochromatic
#9206DD #B026F9 #C662FB #DC9EFD #F1D9FE

Accessibility & contrast

On white

3.21
#C662FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#C662FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C662FB
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C662FB#FFFFFF#000000##000000
##C662FB1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#238BFF
Deuteranopia (green-blind)
#5692F7
Tritanopia (blue-blind)
#C07FA6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #c662fb;
/* rgb */ color: rgb(198, 98, 251);
/* oklch */ color: oklch(67.9% 0.228 312.0);
Tailwind
colors: {
  custom: {
    50: '#db94fd',
    500: '#c662fb',
    950: '#000000',
  },
}
SCSS
$custom: #c662fb;
$custom-light: #db94fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c662fb",
  "rgb": {
    "r": 198,
    "g": 98,
    "b": 251
  },
  "hsl": {
    "h": 279.216,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.67945,
    "c": 0.22787,
    "h": 312
  },
  "luminance": 0.27706
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C662FB

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

Preview Lab → · Contrast checker → · Palette generator →

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