#CA94F2#CA94F2

#CA94F2 is a light, vivid violet. Relative luminance 0.401; OKLCH L 75.3% C 0.142 H 309.7°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#CA94F2
RGBrgb(202, 148, 242)
HSLhsl(274, 78%, 76%)
HSVhsv(274, 39%, 95%)
CMYKcmyk(16.5%, 38.8%, 0%, 5.1%)
CIE-LABlab(69.57, 37.37, -39.49)
CIE-LCHlch(69.57, 54.37, 313.42°)
OKLaboklab(75.27% 0.0908 -0.1093)
OKLCHoklch(75.27% 0.142 309.7)
XYZxyz(50.9711, 40.1478, 89.0513)
Luminance0.4015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA94F2 #BCF294
analogous
#9B94F2 #CA94F2 #F294EB
triadic
#CA94F2 #F2CA94 #94F2CA
tetradic
#CA94F2 #F29B94 #BCF294 #94EBF2
square
#CA94F2 #F29B94 #BCF294 #94EBF2
split-complementary
#CA94F2 #EBF294 #94F29B
monochromatic
#9427E5 #AF5DEB #CA94F2 #E5CBF9 #F1E4FC

Accessibility & contrast

On white

2.33
#CA94F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#CA94F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA94F2
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA94F2#FFFFFF#000000##000000
##CA94F21.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A7F6
Deuteranopia (green-blind)
#8EABEF
Tritanopia (blue-blind)
#C5A2B8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ca94f2;
/* rgb */ color: rgb(202, 148, 242);
/* oklch */ color: oklch(75.3% 0.142 309.7);
Tailwind
colors: {
  custom: {
    50: '#dbb4f6',
    500: '#ca94f2',
    950: '#000000',
  },
}
SCSS
$custom: #ca94f2;
$custom-light: #dbb4f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca94f2",
  "rgb": {
    "r": 202,
    "g": 148,
    "b": 242
  },
  "hsl": {
    "h": 274.468,
    "s": 78.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.75274,
    "c": 0.14211,
    "h": 309.7
  },
  "luminance": 0.40147
}

Semantic roles & 50–950 ramp

primary
#CA94F2
secondary
#E3F3D8
accent
#DB0B63
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #CA94F2

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

Preview Lab → · Contrast checker → · Palette generator →

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