#CA94FE#CA94FE

#CA94FE is a light, vivid violet. Relative luminance 0.409; OKLCH L 75.8% C 0.156 H 306.5°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#CA94FE
RGBrgb(202, 148, 254)
HSLhsl(271, 98%, 79%)
HSVhsv(271, 42%, 100%)
CMYKcmyk(20.5%, 41.7%, 0%, 0.4%)
CIE-LABlab(70.10, 39.99, -45.21)
CIE-LCHlch(70.10, 60.36, 311.49°)
OKLaboklab(75.84% 0.0931 -0.1258)
OKLCHoklch(75.84% 0.156 306.5)
XYZxyz(52.8328, 40.8925, 98.8565)
Luminance0.4089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA94FE #C8FE94
analogous
#9594FE #CA94FE #FE94FD
triadic
#CA94FE #FECA94 #94FECA
tetradic
#CA94FE #FE9594 #C8FE94 #94FDFE
square
#CA94FE #FE9594 #C8FE94 #94FDFE
split-complementary
#CA94FE #FDFE94 #94FE95
monochromatic
#8E1BFD #AC57FD #CA94FE #E8D1FF #F0E1FF

Accessibility & contrast

On white

2.29
#CA94FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#CA94FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA94FE
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA94FE#FFFFFF#000000##000000
##CA94FE1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA9FF
Deuteranopia (green-blind)
#88ACFB
Tritanopia (blue-blind)
#C2A5BD
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ca94fe;
/* rgb */ color: rgb(202, 148, 254);
/* oklch */ color: oklch(75.8% 0.156 306.5);
Tailwind
colors: {
  custom: {
    50: '#dcb4ff',
    500: '#ca94fe',
    950: '#000000',
  },
}
SCSS
$custom: #ca94fe;
$custom-light: #dcb4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca94fe",
  "rgb": {
    "r": 202,
    "g": 148,
    "b": 254
  },
  "hsl": {
    "h": 270.566,
    "s": 98.148,
    "l": 78.824
  },
  "oklch": {
    "l": 0.75843,
    "c": 0.15647,
    "h": 306.5
  },
  "luminance": 0.40892
}

Semantic roles & 50–950 ramp

primary
#CA94FE
secondary
#E5F7D4
accent
#E60071
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CA94FE

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

Preview Lab → · Contrast checker → · Palette generator →

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