#CA68DC#CA68DC

#CA68DC is a light, vivid purple. Relative luminance 0.276; OKLCH L 67.5% C 0.190 H 321.2°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#CA68DC
RGBrgb(202, 104, 220)
HSLhsl(291, 62%, 64%)
HSVhsv(291, 53%, 86%)
CMYKcmyk(8.2%, 52.7%, 0%, 13.7%)
CIE-LABlab(59.55, 55.87, -43.01)
CIE-LCHlch(59.55, 70.51, 322.41°)
OKLaboklab(67.47% 0.1484 -0.1192)
OKLCHoklch(67.47% 0.19 321.2)
XYZxyz(42.2242, 27.6263, 70.8045)
Luminance0.2762 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA68DC #7ADC68
analogous
#9068DC #CA68DC #DC68B4
triadic
#CA68DC #DCCA68 #68DCCA
tetradic
#CA68DC #DC9068 #7ADC68 #68B4DC
square
#CA68DC #DC9068 #7ADC68 #68B4DC
split-complementary
#CA68DC #B4DC68 #68DC90
monochromatic
#9026A4 #B936D0 #CA68DC #DB9AE8 #EDCBF3

Accessibility & contrast

On white

3.22
#CA68DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#CA68DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA68DC
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA68DC#FFFFFF#000000##000000
##CA68DC1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5488E0
Deuteranopia (green-blind)
#7393D9
Tritanopia (blue-blind)
#CC7898
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ca68dc;
/* rgb */ color: rgb(202, 104, 220);
/* oklch */ color: oklch(67.5% 0.190 321.2);
Tailwind
colors: {
  custom: {
    50: '#dc97e7',
    500: '#ca68dc',
    950: '#000000',
  },
}
SCSS
$custom: #ca68dc;
$custom-light: #dc97e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca68dc",
  "rgb": {
    "r": 202,
    "g": 104,
    "b": 220
  },
  "hsl": {
    "h": 290.69,
    "s": 62.366,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67468,
    "c": 0.19031,
    "h": 321.2
  },
  "luminance": 0.27624
}

Semantic roles & 50–950 ramp

primary
#CA68DC
secondary
#C2E4BB
accent
#CA1B37
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CA68DC

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

Preview Lab → · Contrast checker → · Palette generator →

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