#CA9CF2#CA9CF2

#CA9CF2 is a light, vivid violet. Relative luminance 0.427; OKLCH L 76.6% C 0.129 H 308.1°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#CA9CF2
RGBrgb(202, 156, 242)
HSLhsl(272, 77%, 78%)
HSVhsv(272, 36%, 95%)
CMYKcmyk(16.5%, 35.5%, 0%, 5.1%)
CIE-LABlab(71.38, 33.00, -36.68)
CIE-LCHlch(71.38, 49.34, 311.98°)
OKLaboklab(76.64% 0.0795 -0.1013)
OKLCHoklch(76.64% 0.129 308.1)
XYZxyz(52.2696, 42.7448, 89.4842)
Luminance0.4274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9CF2 #C4F29C
analogous
#9F9CF2 #CA9CF2 #F29CEF
triadic
#CA9CF2 #F2CA9C #9CF2CA
tetradic
#CA9CF2 #F29F9C #C4F29C #9CEFF2
square
#CA9CF2 #F29F9C #C4F29C #9CEFF2
split-complementary
#CA9CF2 #EFF29C #9CF29F
monochromatic
#9030E4 #AD66EB #CA9CF2 #E7D2F9 #F1E4FB

Accessibility & contrast

On white

2.20
#CA9CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#CA9CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9CF2
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9CF2#FFFFFF#000000##000000
##CA9CF21.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BADF5
Deuteranopia (green-blind)
#95AFF0
Tritanopia (blue-blind)
#C5A9BC
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ca9cf2;
/* rgb */ color: rgb(202, 156, 242);
/* oklch */ color: oklch(76.6% 0.129 308.1);
Tailwind
colors: {
  custom: {
    50: '#dbb9f6',
    500: '#ca9cf2',
    950: '#000000',
  },
}
SCSS
$custom: #ca9cf2;
$custom-light: #dbb9f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9cf2",
  "rgb": {
    "r": 202,
    "g": 156,
    "b": 242
  },
  "hsl": {
    "h": 272.093,
    "s": 76.786,
    "l": 78.039
  },
  "oklch": {
    "l": 0.76643,
    "c": 0.12875,
    "h": 308.1
  },
  "luminance": 0.42744
}

Semantic roles & 50–950 ramp

primary
#CA9CF2
secondary
#E5F3D8
accent
#D90C6C
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #CA9CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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