#CA94EB#CA94EB

#CA94EB is a light, vivid violet. Relative luminance 0.397; OKLCH L 75.0% C 0.134 H 311.9°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#CA94EB
RGBrgb(202, 148, 235)
HSLhsl(277, 69%, 75%)
HSVhsv(277, 37%, 92%)
CMYKcmyk(14%, 37%, 0%, 7.8%)
CIE-LABlab(69.28, 35.88, -36.12)
CIE-LCHlch(69.28, 50.91, 314.81°)
OKLaboklab(74.96% 0.0894 -0.0996)
OKLCHoklch(74.96% 0.134 311.9)
XYZxyz(49.9399, 39.7353, 83.6200)
Luminance0.3973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA94EB #B5EB94
analogous
#9E94EB #CA94EB #EB94E1
triadic
#CA94EB #EBCA94 #94EBCA
tetradic
#CA94EB #EB9E94 #B5EB94 #94E1EB
square
#CA94EB #EB9E94 #B5EB94 #94E1EB
split-complementary
#CA94EB #E1EB94 #94EB9E
monochromatic
#972DD8 #B060E1 #CA94EB #E4C8F5 #F2E5FA

Accessibility & contrast

On white

2.35
#CA94EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#CA94EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA94EB
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA94EB#FFFFFF#000000##000000
##CA94EB1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A6EE
Deuteranopia (green-blind)
#91AAE8
Tritanopia (blue-blind)
#C7A0B5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ca94eb;
/* rgb */ color: rgb(202, 148, 235);
/* oklch */ color: oklch(75.0% 0.134 311.9);
Tailwind
colors: {
  custom: {
    50: '#dbb4f1',
    500: '#ca94eb',
    950: '#000000',
  },
}
SCSS
$custom: #ca94eb;
$custom-light: #dbb4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca94eb",
  "rgb": {
    "r": 202,
    "g": 148,
    "b": 235
  },
  "hsl": {
    "h": 277.241,
    "s": 68.504,
    "l": 75.098
  },
  "oklch": {
    "l": 0.74955,
    "c": 0.13383,
    "h": 311.9
  },
  "luminance": 0.39735
}

Semantic roles & 50–950 ramp

primary
#CA94EB
secondary
#E3F2D9
accent
#D0155C
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CA94EB

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

Preview Lab → · Contrast checker → · Palette generator →

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