#C662F8#C662F8

#C662F8 is a light, highly saturated purple. Relative luminance 0.275; OKLCH L 67.8% C 0.225 H 312.7°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#C662F8
RGBrgb(198, 98, 248)
HSLhsl(280, 91%, 68%)
HSVhsv(280, 60%, 97%)
CMYKcmyk(20.2%, 60.5%, 0%, 2.7%)
CIE-LABlab(59.45, 63.31, -58.82)
CIE-LCHlch(59.45, 86.41, 317.10°)
OKLaboklab(67.77% 0.1525 -0.1653)
OKLCHoklch(67.77% 0.225 312.7)
XYZxyz(44.5967, 27.5196, 91.7513)
Luminance0.2752 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C662F8 #94F862
analogous
#7B62F8 #C662F8 #F862DF
triadic
#C662F8 #F8C662 #62F8C6
tetradic
#C662F8 #F87B62 #94F862 #62DFF8
square
#C662F8 #F87B62 #94F862 #62DFF8
split-complementary
#C662F8 #DFF862 #62F87B
monochromatic
#920AD6 #B127F5 #C662F8 #DB9DFB #F1D7FD

Accessibility & contrast

On white

3.23
#C662F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#C662F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C662F8
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C662F8#FFFFFF#000000##000000
##C662F81.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#298AFD
Deuteranopia (green-blind)
#5891F4
Tritanopia (blue-blind)
#C17EA4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c662f8;
/* rgb */ color: rgb(198, 98, 248);
/* oklch */ color: oklch(67.8% 0.225 312.7);
Tailwind
colors: {
  custom: {
    50: '#db94fb',
    500: '#c662f8',
    950: '#000000',
  },
}
SCSS
$custom: #c662f8;
$custom-light: #db94fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c662f8",
  "rgb": {
    "r": 198,
    "g": 98,
    "b": 248
  },
  "hsl": {
    "h": 280,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.67766,
    "c": 0.2249,
    "h": 312.7
  },
  "luminance": 0.27518
}

Semantic roles & 50–950 ramp

primary
#C662F8
secondary
#D3F2C4
accent
#E6004C
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #C662F8

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

Preview Lab → · Contrast checker → · Palette generator →

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