#CA95FE#CA95FE

#CA95FE is a light, vivid violet. Relative luminance 0.412; OKLCH L 76.0% C 0.155 H 306.3°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#CA95FE
RGBrgb(202, 149, 254)
HSLhsl(270, 98%, 79%)
HSVhsv(270, 41%, 100%)
CMYKcmyk(20.5%, 41.3%, 0%, 0.4%)
CIE-LABlab(70.32, 39.44, -44.87)
CIE-LCHlch(70.32, 59.74, 311.32°)
OKLaboklab(76.01% 0.0917 -0.1248)
OKLCHoklch(76.01% 0.155 306.3)
XYZxyz(52.9904, 41.2076, 98.9090)
Luminance0.4121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA95FE #C9FE95
analogous
#9695FE #CA95FE #FE95FD
triadic
#CA95FE #FECA95 #95FECA
tetradic
#CA95FE #FE9695 #C9FE95 #95FDFE
square
#CA95FE #FE9695 #C9FE95 #95FDFE
split-complementary
#CA95FE #FDFE95 #95FE96
monochromatic
#8D1CFD #AC58FD #CA95FE #E8D2FF #F0E1FF

Accessibility & contrast

On white

2.27
#CA95FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#CA95FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA95FE
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA95FE#FFFFFF#000000##000000
##CA95FE1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CAAFF
Deuteranopia (green-blind)
#89ACFB
Tritanopia (blue-blind)
#C2A6BD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ca95fe;
/* rgb */ color: rgb(202, 149, 254);
/* oklch */ color: oklch(76.0% 0.155 306.3);
Tailwind
colors: {
  custom: {
    50: '#dcb5ff',
    500: '#ca95fe',
    950: '#000000',
  },
}
SCSS
$custom: #ca95fe;
$custom-light: #dcb5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca95fe",
  "rgb": {
    "r": 202,
    "g": 149,
    "b": 254
  },
  "hsl": {
    "h": 270.286,
    "s": 98.131,
    "l": 79.02
  },
  "oklch": {
    "l": 0.76009,
    "c": 0.15486,
    "h": 306.3
  },
  "luminance": 0.41207
}

Semantic roles & 50–950 ramp

primary
#CA95FE
secondary
#E5F7D4
accent
#E60072
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CA95FE

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

Preview Lab → · Contrast checker → · Palette generator →

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