#CA95ED#CA95ED

#CA95ED is a light, vivid violet. Relative luminance 0.402; OKLCH L 75.2% C 0.135 H 311.1°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#CA95ED
RGBrgb(202, 149, 237)
HSLhsl(276, 71%, 76%)
HSVhsv(276, 37%, 93%)
CMYKcmyk(14.8%, 37.1%, 0%, 7.1%)
CIE-LABlab(69.59, 35.75, -36.74)
CIE-LCHlch(69.59, 51.26, 314.22°)
OKLaboklab(75.22% 0.0884 -0.1014)
OKLCHoklch(75.22% 0.135 311.1)
XYZxyz(50.3879, 40.1666, 85.2028)
Luminance0.4017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA95ED #B8ED95
analogous
#9E95ED #CA95ED #ED95E4
triadic
#CA95ED #EDCA95 #95EDCA
tetradic
#CA95ED #ED9E95 #B8ED95 #95E4ED
square
#CA95ED #ED9E95 #B8ED95 #95E4ED
split-complementary
#CA95ED #E4ED95 #95ED9E
monochromatic
#962CDB #B061E4 #CA95ED #E4C9F6 #F2E5FB

Accessibility & contrast

On white

2.32
#CA95ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA95ED#FFFFFF#000000##000000
##CA95ED1.002.329.039.03
#FFFFFF2.321.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A7F0
Deuteranopia (green-blind)
#91ABEA
Tritanopia (blue-blind)
#C6A1B6
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ca95ed;
/* rgb */ color: rgb(202, 149, 237);
/* oklch */ color: oklch(75.2% 0.135 311.1);
Tailwind
colors: {
  custom: {
    50: '#dbb5f3',
    500: '#ca95ed',
    950: '#000000',
  },
}
SCSS
$custom: #ca95ed;
$custom-light: #dbb5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca95ed",
  "rgb": {
    "r": 202,
    "g": 149,
    "b": 237
  },
  "hsl": {
    "h": 276.136,
    "s": 70.968,
    "l": 75.686
  },
  "oklch": {
    "l": 0.75215,
    "c": 0.1345,
    "h": 311.1
  },
  "luminance": 0.40166
}

Semantic roles & 50–950 ramp

primary
#CA95ED
secondary
#E3F2D9
accent
#D3135F
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CA95ED

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

Preview Lab → · Contrast checker → · Palette generator →

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