#CA95F2#CA95F2

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

Color values

HEX#CA95F2
RGBrgb(202, 149, 242)
HSLhsl(274, 78%, 77%)
HSVhsv(274, 38%, 95%)
CMYKcmyk(16.5%, 38.4%, 0%, 5.1%)
CIE-LABlab(69.80, 36.82, -39.14)
CIE-LCHlch(69.80, 53.74, 313.25°)
OKLaboklab(75.44% 0.0894 -0.1083)
OKLCHoklch(75.44% 0.14 309.5)
XYZxyz(51.1286, 40.4629, 89.1038)
Luminance0.4046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA95F2 #BDF295
analogous
#9C95F2 #CA95F2 #F295EB
triadic
#CA95F2 #F2CA95 #95F2CA
tetradic
#CA95F2 #F29C95 #BDF295 #95EBF2
square
#CA95F2 #F29C95 #BDF295 #95EBF2
split-complementary
#CA95F2 #EBF295 #95F29C
monochromatic
#9328E5 #AF5EEB #CA95F2 #E5CCF9 #F1E4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA95F2#FFFFFF#000000##000000
##CA95F21.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)
#82A8F6
Deuteranopia (green-blind)
#8FABEF
Tritanopia (blue-blind)
#C5A3B8
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ca95f2;
/* rgb */ color: rgb(202, 149, 242);
/* oklch */ color: oklch(75.4% 0.140 309.5);
Tailwind
colors: {
  custom: {
    50: '#dbb5f6',
    500: '#ca95f2',
    950: '#000000',
  },
}
SCSS
$custom: #ca95f2;
$custom-light: #dbb5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca95f2",
  "rgb": {
    "r": 202,
    "g": 149,
    "b": 242
  },
  "hsl": {
    "h": 274.194,
    "s": 78.151,
    "l": 76.667
  },
  "oklch": {
    "l": 0.75443,
    "c": 0.14045,
    "h": 309.5
  },
  "luminance": 0.40462
}

Semantic roles & 50–950 ramp

primary
#CA95F2
secondary
#E4F3D8
accent
#DA0B64
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #CA95F2

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

Preview Lab → · Contrast checker → · Palette generator →

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