#CA94F9#CA94F9

#CA94F9 is a light, vivid violet. Relative luminance 0.406; OKLCH L 75.6% C 0.150 H 307.8°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#CA94F9
RGBrgb(202, 148, 249)
HSLhsl(272, 89%, 78%)
HSVhsv(272, 41%, 98%)
CMYKcmyk(18.9%, 40.6%, 0%, 2.4%)
CIE-LABlab(69.88, 38.89, -42.84)
CIE-LCHlch(69.88, 57.86, 312.23°)
OKLaboklab(75.6% 0.0922 -0.1189)
OKLCHoklch(75.6% 0.15 307.8)
XYZxyz(52.0426, 40.5764, 94.6946)
Luminance0.4058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA94F9 #C3F994
analogous
#9794F9 #CA94F9 #F994F6
triadic
#CA94F9 #F9CA94 #94F9CA
tetradic
#CA94F9 #F99794 #C3F994 #94F6F9
square
#CA94F9 #F99794 #C3F994 #94F6F9
split-complementary
#CA94F9 #F6F994 #94F997
monochromatic
#9120F3 #AD5AF6 #CA94F9 #E7CEFC #F1E2FD

Accessibility & contrast

On white

2.30
#CA94F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#CA94F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA94F9
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA94F9#FFFFFF#000000##000000
##CA94F91.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA9FD
Deuteranopia (green-blind)
#8AABF6
Tritanopia (blue-blind)
#C4A4BB
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ca94f9;
/* rgb */ color: rgb(202, 148, 249);
/* oklch */ color: oklch(75.6% 0.150 307.8);
Tailwind
colors: {
  custom: {
    50: '#dcb4fb',
    500: '#ca94f9',
    950: '#000000',
  },
}
SCSS
$custom: #ca94f9;
$custom-light: #dcb4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca94f9",
  "rgb": {
    "r": 202,
    "g": 148,
    "b": 249
  },
  "hsl": {
    "h": 272.079,
    "s": 89.381,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75603,
    "c": 0.15048,
    "h": 307.8
  },
  "luminance": 0.40576
}

Semantic roles & 50–950 ramp

primary
#CA94F9
secondary
#E4F5D6
accent
#E6006B
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CA94F9

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

Preview Lab → · Contrast checker → · Palette generator →

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