#CA93EB#CA93EB

#CA93EB is a light, vivid violet. Relative luminance 0.394; OKLCH L 74.8% C 0.136 H 312.1°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#CA93EB
RGBrgb(202, 147, 235)
HSLhsl(278, 69%, 75%)
HSVhsv(278, 37%, 92%)
CMYKcmyk(14%, 37.4%, 0%, 7.8%)
CIE-LABlab(69.06, 36.42, -36.47)
CIE-LCHlch(69.06, 51.54, 314.97°)
OKLaboklab(74.79% 0.0908 -0.1006)
OKLCHoklch(74.79% 0.136 312.1)
XYZxyz(49.7837, 39.4230, 83.5680)
Luminance0.3942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA93EB #B4EB93
analogous
#9E93EB #CA93EB #EB93E0
triadic
#CA93EB #EBCA93 #93EBCA
tetradic
#CA93EB #EB9E93 #B4EB93 #93E0EB
square
#CA93EB #EB9E93 #B4EB93 #93E0EB
split-complementary
#CA93EB #E0EB93 #93EB9E
monochromatic
#972CD8 #B15FE1 #CA93EB #E3C7F5 #F2E5FA

Accessibility & contrast

On white

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

On black

8.88
#CA93EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA93EB
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA93EB#FFFFFF#000000##000000
##CA93EB1.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A6EE
Deuteranopia (green-blind)
#90AAE8
Tritanopia (blue-blind)
#C79FB4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ca93eb;
/* rgb */ color: rgb(202, 147, 235);
/* oklch */ color: oklch(74.8% 0.136 312.1);
Tailwind
colors: {
  custom: {
    50: '#dbb3f1',
    500: '#ca93eb',
    950: '#000000',
  },
}
SCSS
$custom: #ca93eb;
$custom-light: #dbb3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca93eb",
  "rgb": {
    "r": 202,
    "g": 147,
    "b": 235
  },
  "hsl": {
    "h": 277.5,
    "s": 68.75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.74786,
    "c": 0.13552,
    "h": 312.1
  },
  "luminance": 0.39422
}

Semantic roles & 50–950 ramp

primary
#CA93EB
secondary
#E2F2D9
accent
#D1155B
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CA93EB

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

Preview Lab → · Contrast checker → · Palette generator →

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