#CA64DB#CA64DB

#CA64DB is a light, vivid purple. Relative luminance 0.268; OKLCH L 66.9% C 0.196 H 321.7°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#CA64DB
RGBrgb(202, 100, 219)
HSLhsl(291, 62%, 63%)
HSVhsv(291, 54%, 86%)
CMYKcmyk(7.8%, 54.3%, 0%, 14.1%)
CIE-LABlab(58.78, 57.61, -43.67)
CIE-LCHlch(58.78, 72.29, 322.84°)
OKLaboklab(66.88% 0.1535 -0.1211)
OKLCHoklch(66.88% 0.196 321.7)
XYZxyz(41.6991, 26.7873, 69.9781)
Luminance0.2678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA64DB #75DB64
analogous
#8F64DB #CA64DB #DB64B0
triadic
#CA64DB #DBCA64 #64DBCA
tetradic
#CA64DB #DB8F64 #75DB64 #64B0DB
square
#CA64DB #DB8F64 #75DB64 #64B0DB
split-complementary
#CA64DB #B0DB64 #64DB8F
monochromatic
#8E25A0 #B932CF #CA64DB #DB96E7 #ECC7F2

Accessibility & contrast

On white

3.30
#CA64DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#CA64DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA64DB
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA64DB#FFFFFF#000000##000000
##CA64DB1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F86DF
Deuteranopia (green-blind)
#7191D8
Tritanopia (blue-blind)
#CC7596
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ca64db;
/* rgb */ color: rgb(202, 100, 219);
/* oklch */ color: oklch(66.9% 0.196 321.7);
Tailwind
colors: {
  custom: {
    50: '#dd95e6',
    500: '#ca64db',
    950: '#000000',
  },
}
SCSS
$custom: #ca64db;
$custom-light: #dd95e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca64db",
  "rgb": {
    "r": 202,
    "g": 100,
    "b": 219
  },
  "hsl": {
    "h": 291.429,
    "s": 62.304,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66884,
    "c": 0.1955,
    "h": 321.7
  },
  "luminance": 0.26785
}

Semantic roles & 50–950 ramp

primary
#CA64DB
secondary
#BEE3B8
accent
#CA1B34
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CA64DB

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

Preview Lab → · Contrast checker → · Palette generator →

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