#CA94F8#CA94F8

#CA94F8 is a light, vivid violet. Relative luminance 0.405; OKLCH L 75.6% C 0.149 H 308.0°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#CA94F8
RGBrgb(202, 148, 248)
HSLhsl(272, 88%, 78%)
HSVhsv(272, 40%, 97%)
CMYKcmyk(18.5%, 40.3%, 0%, 2.7%)
CIE-LABlab(69.83, 38.67, -42.36)
CIE-LCHlch(69.83, 57.36, 312.39°)
OKLaboklab(75.56% 0.092 -0.1176)
OKLCHoklch(75.56% 0.149 308)
XYZxyz(51.8871, 40.5142, 93.8753)
Luminance0.4051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA94F8 #C2F894
analogous
#9894F8 #CA94F8 #F894F4
triadic
#CA94F8 #F8CA94 #94F8CA
tetradic
#CA94F8 #F89894 #C2F894 #94F4F8
square
#CA94F8 #F89894 #C2F894 #94F4F8
split-complementary
#CA94F8 #F4F894 #94F898
monochromatic
#9121F0 #AE5BF4 #CA94F8 #E6CDFC #F1E2FD

Accessibility & contrast

On white

2.31
#CA94F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#CA94F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA94F8
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA94F8#FFFFFF#000000##000000
##CA94F81.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA8FC
Deuteranopia (green-blind)
#8BABF5
Tritanopia (blue-blind)
#C4A3BA
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ca94f8;
/* rgb */ color: rgb(202, 148, 248);
/* oklch */ color: oklch(75.6% 0.149 308.0);
Tailwind
colors: {
  custom: {
    50: '#dbb4fb',
    500: '#ca94f8',
    950: '#000000',
  },
}
SCSS
$custom: #ca94f8;
$custom-light: #dbb4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca94f8",
  "rgb": {
    "r": 202,
    "g": 148,
    "b": 248
  },
  "hsl": {
    "h": 272.4,
    "s": 87.719,
    "l": 77.647
  },
  "oklch": {
    "l": 0.75555,
    "c": 0.14928,
    "h": 308
  },
  "luminance": 0.40514
}

Semantic roles & 50–950 ramp

primary
#CA94F8
secondary
#E4F5D6
accent
#E4016A
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CA94F8

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

Preview Lab → · Contrast checker → · Palette generator →

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