#CA95F3#CA95F3

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

Color values

HEX#CA95F3
RGBrgb(202, 149, 243)
HSLhsl(274, 80%, 77%)
HSVhsv(274, 39%, 95%)
CMYKcmyk(16.9%, 38.7%, 0%, 4.7%)
CIE-LABlab(69.84, 37.04, -39.62)
CIE-LCHlch(69.84, 54.24, 313.07°)
OKLaboklab(75.49% 0.0896 -0.1097)
OKLCHoklch(75.49% 0.142 309.3)
XYZxyz(51.2792, 40.5231, 89.8970)
Luminance0.4052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA95F3 #BEF395
analogous
#9B95F3 #CA95F3 #F395ED
triadic
#CA95F3 #F3CA95 #95F3CA
tetradic
#CA95F3 #F39B95 #BEF395 #95EDF3
square
#CA95F3 #F39B95 #BEF395 #95EDF3
split-complementary
#CA95F3 #EDF395 #95F39B
monochromatic
#9327E7 #AF5EED #CA95F3 #E5CCF9 #F1E4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA95F3#FFFFFF#000000##000000
##CA95F31.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)
#82A8F7
Deuteranopia (green-blind)
#8EACF0
Tritanopia (blue-blind)
#C5A3B9
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ca95f3;
/* rgb */ color: rgb(202, 149, 243);
/* oklch */ color: oklch(75.5% 0.142 309.3);
Tailwind
colors: {
  custom: {
    50: '#dbb5f7',
    500: '#ca95f3',
    950: '#000000',
  },
}
SCSS
$custom: #ca95f3;
$custom-light: #dbb5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca95f3",
  "rgb": {
    "r": 202,
    "g": 149,
    "b": 243
  },
  "hsl": {
    "h": 273.83,
    "s": 79.661,
    "l": 76.863
  },
  "oklch": {
    "l": 0.75489,
    "c": 0.14164,
    "h": 309.3
  },
  "luminance": 0.40523
}

Semantic roles & 50–950 ramp

primary
#CA95F3
secondary
#E4F4D7
accent
#DC0A65
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CA95F3

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

Preview Lab → · Contrast checker → · Palette generator →

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