#CA94F7#CA94F7

#CA94F7 is a light, vivid violet. Relative luminance 0.405; OKLCH L 75.5% C 0.148 H 308.3°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#CA94F7
RGBrgb(202, 148, 247)
HSLhsl(273, 86%, 77%)
HSVhsv(273, 40%, 97%)
CMYKcmyk(18.2%, 40.1%, 0%, 3.1%)
CIE-LABlab(69.79, 38.45, -41.89)
CIE-LCHlch(69.79, 56.86, 312.55°)
OKLaboklab(75.51% 0.0918 -0.1162)
OKLCHoklch(75.51% 0.148 308.3)
XYZxyz(51.7323, 40.4523, 93.0604)
Luminance0.4045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA94F7 #C1F794
analogous
#9894F7 #CA94F7 #F794F3
triadic
#CA94F7 #F7CA94 #94F7CA
tetradic
#CA94F7 #F79894 #C1F794 #94F3F7
square
#CA94F7 #F79894 #C1F794 #94F3F7
split-complementary
#CA94F7 #F3F794 #94F798
monochromatic
#9222EE #AE5BF3 #CA94F7 #E6CDFB #F1E3FD

Accessibility & contrast

On white

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

On black

9.09
#CA94F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA94F7
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA94F7#FFFFFF#000000##000000
##CA94F71.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA8FB
Deuteranopia (green-blind)
#8BABF4
Tritanopia (blue-blind)
#C4A3BA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ca94f7;
/* rgb */ color: rgb(202, 148, 247);
/* oklch */ color: oklch(75.5% 0.148 308.3);
Tailwind
colors: {
  custom: {
    50: '#dbb4fa',
    500: '#ca94f7',
    950: '#000000',
  },
}
SCSS
$custom: #ca94f7;
$custom-light: #dbb4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca94f7",
  "rgb": {
    "r": 202,
    "g": 148,
    "b": 247
  },
  "hsl": {
    "h": 272.727,
    "s": 86.087,
    "l": 77.451
  },
  "oklch": {
    "l": 0.75508,
    "c": 0.14809,
    "h": 308.3
  },
  "luminance": 0.40452
}

Semantic roles & 50–950 ramp

primary
#CA94F7
secondary
#E4F5D6
accent
#E30369
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CA94F7

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

Preview Lab → · Contrast checker → · Palette generator →

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