#CA94EF#CA94EF

#CA94EF is a light, vivid violet. Relative luminance 0.400; OKLCH L 75.1% C 0.139 H 310.6°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#CA94EF
RGBrgb(202, 148, 239)
HSLhsl(276, 74%, 76%)
HSVhsv(276, 38%, 94%)
CMYKcmyk(15.5%, 38.1%, 0%, 6.3%)
CIE-LABlab(69.45, 36.72, -38.05)
CIE-LCHlch(69.45, 52.88, 313.99°)
OKLaboklab(75.14% 0.0902 -0.1051)
OKLCHoklch(75.14% 0.139 310.6)
XYZxyz(50.5242, 39.9691, 86.6978)
Luminance0.3997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA94EF #B9EF94
analogous
#9C94EF #CA94EF #EF94E7
triadic
#CA94EF #EFCA94 #94EFCA
tetradic
#CA94EF #EF9C94 #B9EF94 #94E7EF
square
#CA94EF #EF9C94 #B9EF94 #94E7EF
split-complementary
#CA94EF #E7EF94 #94EF9C
monochromatic
#952ADF #B05FE7 #CA94EF #E4C9F7 #F2E4FB

Accessibility & contrast

On white

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

On black

8.99
#CA94EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA94EF
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA94EF#FFFFFF#000000##000000
##CA94EF1.002.338.998.99
#FFFFFF2.331.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A7F2
Deuteranopia (green-blind)
#8FABEC
Tritanopia (blue-blind)
#C6A1B6
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ca94ef;
/* rgb */ color: rgb(202, 148, 239);
/* oklch */ color: oklch(75.1% 0.139 310.6);
Tailwind
colors: {
  custom: {
    50: '#dbb4f4',
    500: '#ca94ef',
    950: '#000000',
  },
}
SCSS
$custom: #ca94ef;
$custom-light: #dbb4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca94ef",
  "rgb": {
    "r": 202,
    "g": 148,
    "b": 239
  },
  "hsl": {
    "h": 275.604,
    "s": 73.984,
    "l": 75.882
  },
  "oklch": {
    "l": 0.75136,
    "c": 0.13856,
    "h": 310.6
  },
  "luminance": 0.39968
}

Semantic roles & 50–950 ramp

primary
#CA94EF
secondary
#E3F3D8
accent
#D60F60
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CA94EF

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

Preview Lab → · Contrast checker → · Palette generator →

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