#CA9FE2#CA9FE2

#CA9FE2 is a light, moderate violet. Relative luminance 0.428; OKLCH L 76.5% C 0.104 H 313.1°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#CA9FE2
RGBrgb(202, 159, 226)
HSLhsl(279, 54%, 75%)
HSVhsv(279, 30%, 89%)
CMYKcmyk(10.6%, 29.6%, 0%, 11.4%)
CIE-LABlab(71.45, 27.98, -27.83)
CIE-LCHlch(71.45, 39.46, 315.15°)
OKLaboklab(76.49% 0.0712 -0.0761)
OKLCHoklch(76.49% 0.104 313.1)
XYZxyz(50.4805, 42.8446, 77.5473)
Luminance0.4284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9FE2 #B7E29F
analogous
#A89FE2 #CA9FE2 #E29FD9
triadic
#CA9FE2 #E2CA9F #9FE2CA
tetradic
#CA9FE2 #E2A89F #B7E29F #9FD9E2
square
#CA9FE2 #E2A89F #B7E29F #9FD9E2
split-complementary
#CA9FE2 #D9E29F #9FE2A8
monochromatic
#9641C6 #B070D4 #CA9FE2 #E4CEF0 #F2E7F8

Accessibility & contrast

On white

2.19
#CA9FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#CA9FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9FE2
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9FE2#FFFFFF#000000##000000
##CA9FE21.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95ADE5
Deuteranopia (green-blind)
#9EB0E0
Tritanopia (blue-blind)
#C8A7B7
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ca9fe2;
/* rgb */ color: rgb(202, 159, 226);
/* oklch */ color: oklch(76.5% 0.104 313.1);
Tailwind
colors: {
  custom: {
    50: '#dbbbeb',
    500: '#ca9fe2',
    950: '#000000',
  },
}
SCSS
$custom: #ca9fe2;
$custom-light: #dbbbeb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9fe2",
  "rgb": {
    "r": 202,
    "g": 159,
    "b": 226
  },
  "hsl": {
    "h": 278.507,
    "s": 53.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.76488,
    "c": 0.10423,
    "h": 313.1
  },
  "luminance": 0.42844
}

Semantic roles & 50–950 ramp

primary
#CA9FE2
secondary
#E3EFDC
accent
#C1245D
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CA9FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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