#CA9CFA#CA9CFA

#CA9CFA is a light, vivid violet. Relative luminance 0.432; OKLCH L 77.0% C 0.139 H 305.9°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#CA9CFA
RGBrgb(202, 156, 250)
HSLhsl(269, 90%, 80%)
HSVhsv(269, 38%, 98%)
CMYKcmyk(19.2%, 37.6%, 0%, 2%)
CIE-LABlab(71.71, 34.75, -40.51)
CIE-LCHlch(71.71, 53.37, 310.62°)
OKLaboklab(77.01% 0.0813 -0.1123)
OKLCHoklch(77.01% 0.139 305.9)
XYZxyz(53.4975, 43.2359, 95.9510)
Luminance0.4324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9CFA #CCFA9C
analogous
#9C9DFA #CA9CFA #F99CFA
triadic
#CA9CFA #FACA9C #9CFACA
tetradic
#CA9CFA #FA9C9D #CCFA9C #9CFAF9
square
#CA9CFA #FA9C9D #CCFA9C #9CFAF9
split-complementary
#CA9CFA #FAF99C #9DFA9C
monochromatic
#8C27F4 #AB62F7 #CA9CFA #E9D6FD #EFE2FE

Accessibility & contrast

On white

2.18
#CA9CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#CA9CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9CFA
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9CFA#FFFFFF#000000##000000
##CA9CFA1.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AEFE
Deuteranopia (green-blind)
#91B0F7
Tritanopia (blue-blind)
#C3AABF
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ca9cfa;
/* rgb */ color: rgb(202, 156, 250);
/* oklch */ color: oklch(77.0% 0.139 305.9);
Tailwind
colors: {
  custom: {
    50: '#dbb9fc',
    500: '#ca9cfa',
    950: '#000000',
  },
}
SCSS
$custom: #ca9cfa;
$custom-light: #dbb9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9cfa",
  "rgb": {
    "r": 202,
    "g": 156,
    "b": 250
  },
  "hsl": {
    "h": 269.362,
    "s": 90.385,
    "l": 79.608
  },
  "oklch": {
    "l": 0.77005,
    "c": 0.13859,
    "h": 305.9
  },
  "luminance": 0.43236
}

Semantic roles & 50–950 ramp

primary
#CA9CFA
secondary
#E6F6D5
accent
#E60075
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CA9CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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