#CA94EC#CA94EC

#CA94EC is a light, vivid violet. Relative luminance 0.398; OKLCH L 75.0% C 0.135 H 311.6°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#CA94EC
RGBrgb(202, 148, 236)
HSLhsl(277, 70%, 75%)
HSVhsv(277, 37%, 93%)
CMYKcmyk(14.4%, 37.3%, 0%, 7.5%)
CIE-LABlab(69.32, 36.09, -36.60)
CIE-LCHlch(69.32, 51.40, 314.60°)
OKLaboklab(75% 0.0896 -0.101)
OKLCHoklch(75% 0.135 311.6)
XYZxyz(50.0847, 39.7933, 84.3830)
Luminance0.3979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA94EC #B6EC94
analogous
#9E94EC #CA94EC #EC94E2
triadic
#CA94EC #ECCA94 #94ECCA
tetradic
#CA94EC #EC9E94 #B6EC94 #94E2EC
square
#CA94EC #EC9E94 #B6EC94 #94E2EC
split-complementary
#CA94EC #E2EC94 #94EC9E
monochromatic
#972CDA #B060E3 #CA94EC #E4C8F5 #F2E5FA

Accessibility & contrast

On white

2.34
#CA94EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#CA94EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA94EC
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA94EC#FFFFFF#000000##000000
##CA94EC1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca94ec;
/* rgb */ color: rgb(202, 148, 236);
/* oklch */ color: oklch(75.0% 0.135 311.6);
Tailwind
colors: {
  custom: {
    50: '#dbb4f2',
    500: '#ca94ec',
    950: '#000000',
  },
}
SCSS
$custom: #ca94ec;
$custom-light: #dbb4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca94ec",
  "rgb": {
    "r": 202,
    "g": 148,
    "b": 236
  },
  "hsl": {
    "h": 276.818,
    "s": 69.841,
    "l": 75.294
  },
  "oklch": {
    "l": 0.75,
    "c": 0.13501,
    "h": 311.6
  },
  "luminance": 0.39792
}

Semantic roles & 50–950 ramp

primary
#CA94EC
secondary
#E3F2D9
accent
#D2145D
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CA94EC

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

Preview Lab → · Contrast checker → · Palette generator →

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