#CA94FC#CA94FC

#CA94FC is a light, vivid violet. Relative luminance 0.408; OKLCH L 75.7% C 0.154 H 307.0°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#CA94FC
RGBrgb(202, 148, 252)
HSLhsl(271, 95%, 78%)
HSVhsv(271, 41%, 99%)
CMYKcmyk(19.8%, 41.3%, 0%, 1.2%)
CIE-LABlab(70.01, 39.55, -44.27)
CIE-LCHlch(70.01, 59.36, 311.78°)
OKLaboklab(75.75% 0.0927 -0.123)
OKLCHoklch(75.75% 0.154 307)
XYZxyz(52.5143, 40.7651, 97.1785)
Luminance0.4077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA94FC #C6FC94
analogous
#9694FC #CA94FC #FC94FA
triadic
#CA94FC #FCCA94 #94FCCA
tetradic
#CA94FC #FC9694 #C6FC94 #94FAFC
square
#CA94FC #FC9694 #C6FC94 #94FAFC
split-complementary
#CA94FC #FAFC94 #94FC96
monochromatic
#8F1DF9 #AD58FA #CA94FC #E7D0FE #F0E1FE

Accessibility & contrast

On white

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

On black

9.15
#CA94FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA94FC
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA94FC#FFFFFF#000000##000000
##CA94FC1.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA9FF
Deuteranopia (green-blind)
#89ACF9
Tritanopia (blue-blind)
#C3A4BC
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ca94fc;
/* rgb */ color: rgb(202, 148, 252);
/* oklch */ color: oklch(75.7% 0.154 307.0);
Tailwind
colors: {
  custom: {
    50: '#dcb4fe',
    500: '#ca94fc',
    950: '#000000',
  },
}
SCSS
$custom: #ca94fc;
$custom-light: #dcb4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca94fc",
  "rgb": {
    "r": 202,
    "g": 148,
    "b": 252
  },
  "hsl": {
    "h": 271.154,
    "s": 94.545,
    "l": 78.431
  },
  "oklch": {
    "l": 0.75746,
    "c": 0.15407,
    "h": 307
  },
  "luminance": 0.40765
}

Semantic roles & 50–950 ramp

primary
#CA94FC
secondary
#E5F6D5
accent
#E6006E
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CA94FC

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

Preview Lab → · Contrast checker → · Palette generator →

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