#CA93DC#CA93DC

#CA93DC is a light, moderate purple. Relative luminance 0.386; OKLCH L 74.1% C 0.118 H 317.6°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#CA93DC
RGBrgb(202, 147, 220)
HSLhsl(285, 51%, 72%)
HSVhsv(285, 33%, 86%)
CMYKcmyk(8.2%, 33.2%, 0%, 13.7%)
CIE-LABlab(68.45, 33.33, -29.14)
CIE-LCHlch(68.45, 44.27, 318.84°)
OKLaboklab(74.13% 0.0873 -0.0797)
OKLCHoklch(74.13% 0.118 317.6)
XYZxyz(47.7073, 38.5924, 72.6322)
Luminance0.3859 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA93DC #A5DC93
analogous
#A693DC #CA93DC #DC93CA
triadic
#CA93DC #DCCA93 #93DCCA
tetradic
#CA93DC #DCA693 #A5DC93 #93CADC
square
#CA93DC #DCA693 #A5DC93 #93CADC
split-complementary
#CA93DC #CADC93 #93DCA6
monochromatic
#9A3CB9 #B365CD #CA93DC #E1C1EB #F4E8F8

Accessibility & contrast

On white

2.41
#CA93DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#CA93DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA93DC
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA93DC#FFFFFF#000000##000000
##CA93DC1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A3DF
Deuteranopia (green-blind)
#96A9DA
Tritanopia (blue-blind)
#CA9CAE
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ca93dc;
/* rgb */ color: rgb(202, 147, 220);
/* oklch */ color: oklch(74.1% 0.118 317.6);
Tailwind
colors: {
  custom: {
    50: '#dbb3e7',
    500: '#ca93dc',
    950: '#000000',
  },
}
SCSS
$custom: #ca93dc;
$custom-light: #dbb3e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca93dc",
  "rgb": {
    "r": 202,
    "g": 147,
    "b": 220
  },
  "hsl": {
    "h": 285.205,
    "s": 51.049,
    "l": 71.961
  },
  "oklch": {
    "l": 0.74132,
    "c": 0.11823,
    "h": 317.6
  },
  "luminance": 0.38591
}

Semantic roles & 50–950 ramp

primary
#CA93DC
secondary
#E1EFDC
accent
#BE274C
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CA93DC

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

Preview Lab → · Contrast checker → · Palette generator →

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