#CA93EC#CA93EC

#CA93EC is a light, vivid violet. Relative luminance 0.395; OKLCH L 74.8% C 0.137 H 311.7°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#CA93EC
RGBrgb(202, 147, 236)
HSLhsl(277, 70%, 75%)
HSVhsv(277, 38%, 93%)
CMYKcmyk(14.4%, 37.7%, 0%, 7.5%)
CIE-LABlab(69.10, 36.63, -36.95)
CIE-LCHlch(69.10, 52.03, 314.75°)
OKLaboklab(74.83% 0.091 -0.102)
OKLCHoklch(74.83% 0.137 311.7)
XYZxyz(49.9286, 39.4809, 84.3310)
Luminance0.3948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA93EC #B5EC93
analogous
#9E93EC #CA93EC #EC93E1
triadic
#CA93EC #ECCA93 #93ECCA
tetradic
#CA93EC #EC9E93 #B5EC93 #93E1EC
square
#CA93EC #EC9E93 #B5EC93 #93E1EC
split-complementary
#CA93EC #E1EC93 #93EC9E
monochromatic
#972BDA #B05FE3 #CA93EC #E4C7F5 #F2E5FA

Accessibility & contrast

On white

2.36
#CA93EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#CA93EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA93EC
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA93EC#FFFFFF#000000##000000
##CA93EC1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A6EF
Deuteranopia (green-blind)
#90AAE9
Tritanopia (blue-blind)
#C79FB5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ca93ec;
/* rgb */ color: rgb(202, 147, 236);
/* oklch */ color: oklch(74.8% 0.137 311.7);
Tailwind
colors: {
  custom: {
    50: '#dbb3f2',
    500: '#ca93ec',
    950: '#000000',
  },
}
SCSS
$custom: #ca93ec;
$custom-light: #dbb3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca93ec",
  "rgb": {
    "r": 202,
    "g": 147,
    "b": 236
  },
  "hsl": {
    "h": 277.079,
    "s": 70.079,
    "l": 75.098
  },
  "oklch": {
    "l": 0.74831,
    "c": 0.1367,
    "h": 311.7
  },
  "luminance": 0.3948
}

Semantic roles & 50–950 ramp

primary
#CA93EC
secondary
#E3F2D9
accent
#D2135C
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CA93EC

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

Preview Lab → · Contrast checker → · Palette generator →

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