#C662F2#C662F2

#C662F2 is a light, highly saturated purple. Relative luminance 0.272; OKLCH L 67.4% C 0.219 H 314.1°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#C662F2
RGBrgb(198, 98, 242)
HSLhsl(282, 85%, 67%)
HSVhsv(282, 60%, 95%)
CMYKcmyk(18.2%, 59.5%, 0%, 5.1%)
CIE-LABlab(59.12, 62.08, -56.03)
CIE-LCHlch(59.12, 83.62, 317.93°)
OKLaboklab(67.41% 0.1525 -0.1571)
OKLCHoklch(67.41% 0.219 314.1)
XYZxyz(43.6807, 27.1532, 86.9273)
Luminance0.2715 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C662F2 #8EF262
analogous
#7E62F2 #C662F2 #F262D6
triadic
#C662F2 #F2C662 #62F2C6
tetradic
#C662F2 #F27E62 #8EF262 #62D6F2
square
#C662F2 #F27E62 #8EF262 #62D6F2
split-complementary
#C662F2 #D6F262 #62F27E
monochromatic
#9111C9 #B129ED #C662F2 #DB9BF7 #EFD3FB

Accessibility & contrast

On white

3.27
#C662F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#C662F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C662F2
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C662F2#FFFFFF#000000##000000
##C662F21.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3389F7
Deuteranopia (green-blind)
#5D91EE
Tritanopia (blue-blind)
#C27CA1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c662f2;
/* rgb */ color: rgb(198, 98, 242);
/* oklch */ color: oklch(67.4% 0.219 314.1);
Tailwind
colors: {
  custom: {
    50: '#db94f7',
    500: '#c662f2',
    950: '#000000',
  },
}
SCSS
$custom: #c662f2;
$custom-light: #db94f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c662f2",
  "rgb": {
    "r": 198,
    "g": 98,
    "b": 242
  },
  "hsl": {
    "h": 281.667,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.67413,
    "c": 0.21896,
    "h": 314.1
  },
  "luminance": 0.27152
}

Semantic roles & 50–950 ramp

primary
#C662F2
secondary
#CFEFC1
accent
#E10448
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #C662F2

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

Preview Lab → · Contrast checker → · Palette generator →

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