#CA95FF#CA95FF

#CA95FF is a light, vivid violet. Relative luminance 0.413; OKLCH L 76.1% C 0.156 H 306.1°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#CA95FF
RGBrgb(202, 149, 255)
HSLhsl(270, 100%, 79%)
HSVhsv(270, 42%, 100%)
CMYKcmyk(20.8%, 41.6%, 0%, 0%)
CIE-LABlab(70.37, 39.67, -45.34)
CIE-LCHlch(70.37, 60.24, 311.18°)
OKLaboklab(76.06% 0.0919 -0.1262)
OKLCHoklch(76.06% 0.156 306.1)
XYZxyz(53.1509, 41.2718, 99.7545)
Luminance0.4127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA95FF #CAFF95
analogous
#9595FF #CA95FF #FF95FF
triadic
#CA95FF #FFCA95 #95FFCA
tetradic
#CA95FF #FF9595 #CAFF95 #95FFFF
square
#CA95FF #FF9595 #CAFF95 #95FFFF
split-complementary
#CA95FF #FFFF95 #95FF95
monochromatic
#8D1BFF #AB58FF #CA95FF #E9D2FF #F0E0FF

Accessibility & contrast

On white

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

On black

9.25
#CA95FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA95FF
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA95FF#FFFFFF#000000##000000
##CA95FF1.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CAAFF
Deuteranopia (green-blind)
#88ACFC
Tritanopia (blue-blind)
#C2A6BE
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ca95ff;
/* rgb */ color: rgb(202, 149, 255);
/* oklch */ color: oklch(76.1% 0.156 306.1);
Tailwind
colors: {
  custom: {
    50: '#dcb5ff',
    500: '#ca95ff',
    950: '#000000',
  },
}
SCSS
$custom: #ca95ff;
$custom-light: #dcb5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca95ff",
  "rgb": {
    "r": 202,
    "g": 149,
    "b": 255
  },
  "hsl": {
    "h": 270,
    "s": 100,
    "l": 79.216
  },
  "oklch": {
    "l": 0.76058,
    "c": 0.15607,
    "h": 306.1
  },
  "luminance": 0.41271
}

Semantic roles & 50–950 ramp

primary
#CA95FF
secondary
#E6F7D4
accent
#E60073
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CA95FF

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

Preview Lab → · Contrast checker → · Palette generator →

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