#C64EB5#C64EB5

#C64EB5 is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.8% C 0.193 H 333.6°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#C64EB5
RGBrgb(198, 78, 181)
HSLhsl(309, 51%, 54%)
HSVhsv(309, 61%, 78%)
CMYKcmyk(0%, 60.6%, 8.6%, 22.4%)
CIE-LABlab(52.72, 59.94, -31.49)
CIE-LCHlch(52.72, 67.71, 332.29°)
OKLaboklab(61.75% 0.173 -0.0859)
OKLCHoklch(61.75% 0.193 333.6)
XYZxyz(34.3537, 20.7933, 45.9112)
Luminance0.2079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64EB5 #4EC65F
analogous
#9B4EC6 #C64EB5 #C64E79
triadic
#C64EB5 #B5C64E #4EB5C6
tetradic
#C64EB5 #C69B4E #4EC65F #4E79C6
square
#C64EB5 #C69B4E #4EC65F #4E79C6
split-complementary
#C64EB5 #79C64E #4EC69B
monochromatic
#742569 #A23493 #C64EB5 #D57CC8 #E4ABDC

Accessibility & contrast

On white

4.07
#C64EB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#C64EB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C64EB5
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64EB5#FFFFFF#000000##000000
##C64EB51.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C73B8
Deuteranopia (green-blind)
#7284B2
Tritanopia (blue-blind)
#CE577A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c64eb5;
/* rgb */ color: rgb(198, 78, 181);
/* oklch */ color: oklch(61.8% 0.193 333.6);
Tailwind
colors: {
  custom: {
    50: '#da87cb',
    500: '#c64eb5',
    950: '#000000',
  },
}
SCSS
$custom: #c64eb5;
$custom-light: #da87cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c64eb5",
  "rgb": {
    "r": 198,
    "g": 78,
    "b": 181
  },
  "hsl": {
    "h": 308.5,
    "s": 51.282,
    "l": 54.118
  },
  "oklch": {
    "l": 0.6175,
    "c": 0.19311,
    "h": 333.6
  },
  "luminance": 0.20791
}

Semantic roles & 50–950 ramp

primary
#C64EB5
secondary
#9ED1A6
accent
#DB614D
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C64EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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