#C662F5#C662F5

#C662F5 is a light, highly saturated purple. Relative luminance 0.273; OKLCH L 67.6% C 0.222 H 313.4°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#C662F5
RGBrgb(198, 98, 245)
HSLhsl(281, 88%, 67%)
HSVhsv(281, 60%, 96%)
CMYKcmyk(19.2%, 60%, 0%, 3.9%)
CIE-LABlab(59.28, 62.69, -57.42)
CIE-LCHlch(59.28, 85.01, 317.51°)
OKLaboklab(67.59% 0.1525 -0.1612)
OKLCHoklch(67.59% 0.222 313.4)
XYZxyz(44.1350, 27.3350, 89.3197)
Luminance0.2733 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C662F5 #91F562
analogous
#7C62F5 #C662F5 #F562DB
triadic
#C662F5 #F5C662 #62F5C6
tetradic
#C662F5 #F57C62 #91F562 #62DBF5
square
#C662F5 #F57C62 #91F562 #62DBF5
split-complementary
#C662F5 #DBF562 #62F57C
monochromatic
#910DCF #B128F1 #C662F5 #DB9CF9 #F0D5FC

Accessibility & contrast

On white

3.25
#C662F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#C662F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C662F5
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C662F5#FFFFFF#000000##000000
##C662F51.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E89FA
Deuteranopia (green-blind)
#5B91F1
Tritanopia (blue-blind)
#C27DA3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c662f5;
/* rgb */ color: rgb(198, 98, 245);
/* oklch */ color: oklch(67.6% 0.222 313.4);
Tailwind
colors: {
  custom: {
    50: '#db94f9',
    500: '#c662f5',
    950: '#000000',
  },
}
SCSS
$custom: #c662f5;
$custom-light: #db94f9;
$custom-dark: #000000;
JSON
{
  "hex": "#c662f5",
  "rgb": {
    "r": 198,
    "g": 98,
    "b": 245
  },
  "hsl": {
    "h": 280.816,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.67588,
    "c": 0.22192,
    "h": 313.4
  },
  "luminance": 0.27334
}

Semantic roles & 50–950 ramp

primary
#C662F5
secondary
#D1F1C2
accent
#E5014A
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #C662F5

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

Preview Lab → · Contrast checker → · Palette generator →

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