#CA94FF#CA94FF

#CA94FF is a light, vivid violet. Relative luminance 0.410; OKLCH L 75.9% C 0.158 H 306.2°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#CA94FF
RGBrgb(202, 148, 255)
HSLhsl(270, 100%, 79%)
HSVhsv(270, 42%, 100%)
CMYKcmyk(20.8%, 42%, 0%, 0%)
CIE-LABlab(70.15, 40.21, -45.69)
CIE-LCHlch(70.15, 60.86, 311.35°)
OKLaboklab(75.89% 0.0932 -0.1272)
OKLCHoklch(75.89% 0.158 306.2)
XYZxyz(52.9934, 40.9568, 99.7020)
Luminance0.4096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA94FF #C9FF94
analogous
#9594FF #CA94FF #FF94FF
triadic
#CA94FF #FFCA94 #94FFCA
tetradic
#CA94FF #FF9594 #C9FF94 #94FFFF
square
#CA94FF #FF9594 #C9FF94 #94FFFF
split-complementary
#CA94FF #FFFF94 #94FF95
monochromatic
#8D1AFF #AC57FF #CA94FF #E8D1FF #F0E0FF

Accessibility & contrast

On white

2.28
#CA94FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#CA94FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA94FF
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA94FF#FFFFFF#000000##000000
##CA94FF1.002.289.199.19
#FFFFFF2.281.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BAAFF
Deuteranopia (green-blind)
#87ACFC
Tritanopia (blue-blind)
#C2A5BD
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ca94ff;
/* rgb */ color: rgb(202, 148, 255);
/* oklch */ color: oklch(75.9% 0.158 306.2);
Tailwind
colors: {
  custom: {
    50: '#dcb4ff',
    500: '#ca94ff',
    950: '#000000',
  },
}
SCSS
$custom: #ca94ff;
$custom-light: #dcb4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca94ff",
  "rgb": {
    "r": 202,
    "g": 148,
    "b": 255
  },
  "hsl": {
    "h": 270.28,
    "s": 100,
    "l": 79.02
  },
  "oklch": {
    "l": 0.75892,
    "c": 0.15768,
    "h": 306.2
  },
  "luminance": 0.40956
}

Semantic roles & 50–950 ramp

primary
#CA94FF
secondary
#E5F7D4
accent
#E60072
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CA94FF

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

Preview Lab → · Contrast checker → · Palette generator →

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