#CA95EB#CA95EB

#CA95EB is a light, vivid violet. Relative luminance 0.401; OKLCH L 75.1% C 0.132 H 311.7°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#CA95EB
RGBrgb(202, 149, 235)
HSLhsl(277, 68%, 75%)
HSVhsv(277, 37%, 92%)
CMYKcmyk(14%, 36.6%, 0%, 7.8%)
CIE-LABlab(69.51, 35.33, -35.77)
CIE-LCHlch(69.51, 50.28, 314.65°)
OKLaboklab(75.13% 0.088 -0.0986)
OKLCHoklch(75.13% 0.132 311.7)
XYZxyz(50.0974, 40.0504, 83.6725)
Luminance0.4005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA95EB #B6EB95
analogous
#9F95EB #CA95EB #EB95E1
triadic
#CA95EB #EBCA95 #95EBCA
tetradic
#CA95EB #EB9F95 #B6EB95 #95E1EB
square
#CA95EB #EB9F95 #B6EB95 #95E1EB
split-complementary
#CA95EB #E1EB95 #95EB9F
monochromatic
#972ED8 #B062E1 #CA95EB #E4C8F5 #F2E5FA

Accessibility & contrast

On white

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

On black

9.01
#CA95EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA95EB
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA95EB#FFFFFF#000000##000000
##CA95EB1.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A7EE
Deuteranopia (green-blind)
#92ABE8
Tritanopia (blue-blind)
#C7A1B5
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ca95eb;
/* rgb */ color: rgb(202, 149, 235);
/* oklch */ color: oklch(75.1% 0.132 311.7);
Tailwind
colors: {
  custom: {
    50: '#dbb5f1',
    500: '#ca95eb',
    950: '#000000',
  },
}
SCSS
$custom: #ca95eb;
$custom-light: #dbb5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca95eb",
  "rgb": {
    "r": 202,
    "g": 149,
    "b": 235
  },
  "hsl": {
    "h": 276.977,
    "s": 68.254,
    "l": 75.294
  },
  "oklch": {
    "l": 0.75125,
    "c": 0.13213,
    "h": 311.7
  },
  "luminance": 0.4005
}

Semantic roles & 50–950 ramp

primary
#CA95EB
secondary
#E3F2D9
accent
#D0155D
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CA95EB

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

Preview Lab → · Contrast checker → · Palette generator →

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