#C662F7#C662F7

#C662F7 is a light, highly saturated purple. Relative luminance 0.275; OKLCH L 67.7% C 0.224 H 312.9°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#C662F7
RGBrgb(198, 98, 247)
HSLhsl(280, 90%, 68%)
HSVhsv(280, 60%, 97%)
CMYKcmyk(19.8%, 60.3%, 0%, 3.1%)
CIE-LABlab(59.40, 63.10, -58.35)
CIE-LCHlch(59.40, 85.95, 317.24°)
OKLaboklab(67.71% 0.1525 -0.1639)
OKLCHoklch(67.71% 0.224 312.9)
XYZxyz(44.4420, 27.4577, 90.9364)
Luminance0.2746 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C662F7 #93F762
analogous
#7B62F7 #C662F7 #F762DE
triadic
#C662F7 #F7C662 #62F7C6
tetradic
#C662F7 #F77B62 #93F762 #62DEF7
square
#C662F7 #F77B62 #93F762 #62DEF7
split-complementary
#C662F7 #DEF762 #62F77B
monochromatic
#920BD4 #B128F4 #C662F7 #DB9CFA #F0D6FD

Accessibility & contrast

On white

3.24
#C662F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#C662F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C662F7
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C662F7#FFFFFF#000000##000000
##C662F71.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B8AFC
Deuteranopia (green-blind)
#5991F3
Tritanopia (blue-blind)
#C17DA4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c662f7;
/* rgb */ color: rgb(198, 98, 247);
/* oklch */ color: oklch(67.7% 0.224 312.9);
Tailwind
colors: {
  custom: {
    50: '#db94fa',
    500: '#c662f7',
    950: '#000000',
  },
}
SCSS
$custom: #c662f7;
$custom-light: #db94fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c662f7",
  "rgb": {
    "r": 198,
    "g": 98,
    "b": 247
  },
  "hsl": {
    "h": 280.268,
    "s": 90.303,
    "l": 67.647
  },
  "oklch": {
    "l": 0.67706,
    "c": 0.2239,
    "h": 312.9
  },
  "luminance": 0.27457
}

Semantic roles & 50–950 ramp

primary
#C662F7
secondary
#D2F2C3
accent
#E6004B
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #C662F7

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

Preview Lab → · Contrast checker → · Palette generator →

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