#CA93FD#CA93FD

#CA93FD is a light, vivid violet. Relative luminance 0.405; OKLCH L 75.6% C 0.157 H 306.9°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#CA93FD
RGBrgb(202, 147, 253)
HSLhsl(271, 96%, 78%)
HSVhsv(271, 42%, 99%)
CMYKcmyk(20.2%, 41.9%, 0%, 0.8%)
CIE-LABlab(69.84, 40.31, -45.08)
CIE-LCHlch(69.84, 60.48, 311.80°)
OKLaboklab(75.63% 0.0943 -0.1254)
OKLCHoklch(75.63% 0.157 306.9)
XYZxyz(52.5170, 40.5163, 97.9632)
Luminance0.4052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA93FD #C6FD93
analogous
#9593FD #CA93FD #FD93FB
triadic
#CA93FD #FDCA93 #93FDCA
tetradic
#CA93FD #FD9593 #C6FD93 #93FBFD
square
#CA93FD #FD9593 #C6FD93 #93FBFD
split-complementary
#CA93FD #FBFD93 #93FD95
monochromatic
#8F1BFB #AD57FC #CA93FD #E7CFFE #F0E1FE

Accessibility & contrast

On white

2.31
#CA93FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#CA93FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA93FD
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA93FD#FFFFFF#000000##000000
##CA93FD1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA9FF
Deuteranopia (green-blind)
#87ABFA
Tritanopia (blue-blind)
#C3A4BC
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ca93fd;
/* rgb */ color: rgb(202, 147, 253);
/* oklch */ color: oklch(75.6% 0.157 306.9);
Tailwind
colors: {
  custom: {
    50: '#dcb3fe',
    500: '#ca93fd',
    950: '#000000',
  },
}
SCSS
$custom: #ca93fd;
$custom-light: #dcb3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca93fd",
  "rgb": {
    "r": 202,
    "g": 147,
    "b": 253
  },
  "hsl": {
    "h": 271.132,
    "s": 96.364,
    "l": 78.431
  },
  "oklch": {
    "l": 0.75629,
    "c": 0.1569,
    "h": 306.9
  },
  "luminance": 0.40516
}

Semantic roles & 50–950 ramp

primary
#CA93FD
secondary
#E5F7D4
accent
#E6006E
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CA93FD

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

Preview Lab → · Contrast checker → · Palette generator →

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