#CA93FE#CA93FE

#CA93FE is a light, vivid violet. Relative luminance 0.406; OKLCH L 75.7% C 0.158 H 306.7°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#CA93FE
RGBrgb(202, 147, 254)
HSLhsl(271, 98%, 79%)
HSVhsv(271, 42%, 100%)
CMYKcmyk(20.5%, 42.1%, 0%, 0.4%)
CIE-LABlab(69.88, 40.53, -45.56)
CIE-LCHlch(69.88, 60.98, 311.66°)
OKLaboklab(75.68% 0.0944 -0.1268)
OKLCHoklch(75.68% 0.158 306.7)
XYZxyz(52.6767, 40.5802, 98.8044)
Luminance0.4058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA93FE #C7FE93
analogous
#9493FE #CA93FE #FE93FD
triadic
#CA93FE #FECA93 #93FECA
tetradic
#CA93FE #FE9493 #C7FE93 #93FDFE
square
#CA93FE #FE9493 #C7FE93 #93FDFE
split-complementary
#CA93FE #FDFE93 #93FE94
monochromatic
#8E1AFD #AC56FD #CA93FE #E8D0FF #F0E1FF

Accessibility & contrast

On white

2.30
#CA93FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#CA93FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA93FE
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA93FE#FFFFFF#000000##000000
##CA93FE1.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca93fe;
/* rgb */ color: rgb(202, 147, 254);
/* oklch */ color: oklch(75.7% 0.158 306.7);
Tailwind
colors: {
  custom: {
    50: '#dcb3ff',
    500: '#ca93fe',
    950: '#000000',
  },
}
SCSS
$custom: #ca93fe;
$custom-light: #dcb3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca93fe",
  "rgb": {
    "r": 202,
    "g": 147,
    "b": 254
  },
  "hsl": {
    "h": 270.841,
    "s": 98.165,
    "l": 78.627
  },
  "oklch": {
    "l": 0.75678,
    "c": 0.15809,
    "h": 306.7
  },
  "luminance": 0.4058
}

Semantic roles & 50–950 ramp

primary
#CA93FE
secondary
#E5F7D4
accent
#E60070
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CA93FE

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

Preview Lab → · Contrast checker → · Palette generator →

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