#CA9FE3#CA9FE3

#CA9FE3 is a light, moderate violet. Relative luminance 0.429; OKLCH L 76.5% C 0.105 H 312.7°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#CA9FE3
RGBrgb(202, 159, 227)
HSLhsl(278, 55%, 76%)
HSVhsv(278, 30%, 89%)
CMYKcmyk(11%, 30%, 0%, 11%)
CIE-LABlab(71.49, 28.19, -28.32)
CIE-LCHlch(71.49, 39.96, 314.86°)
OKLaboklab(76.53% 0.0715 -0.0775)
OKLCHoklch(76.53% 0.105 312.7)
XYZxyz(50.6181, 42.8996, 78.2721)
Luminance0.4290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9FE3 #B8E39F
analogous
#A89FE3 #CA9FE3 #E39FDA
triadic
#CA9FE3 #E3CA9F #9FE3CA
tetradic
#CA9FE3 #E3A89F #B8E39F #9FDAE3
square
#CA9FE3 #E3A89F #B8E39F #9FDAE3
split-complementary
#CA9FE3 #DAE39F #9FE3A8
monochromatic
#9640C7 #B070D5 #CA9FE3 #E4CEF1 #F2E7F8

Accessibility & contrast

On white

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

On black

9.58
#CA9FE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9FE3
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9FE3#FFFFFF#000000##000000
##CA9FE31.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#94ADE6
Deuteranopia (green-blind)
#9EB0E1
Tritanopia (blue-blind)
#C8A8B7
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ca9fe3;
/* rgb */ color: rgb(202, 159, 227);
/* oklch */ color: oklch(76.5% 0.105 312.7);
Tailwind
colors: {
  custom: {
    50: '#dbbbec',
    500: '#ca9fe3',
    950: '#000000',
  },
}
SCSS
$custom: #ca9fe3;
$custom-light: #dbbbec;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9fe3",
  "rgb": {
    "r": 202,
    "g": 159,
    "b": 227
  },
  "hsl": {
    "h": 277.941,
    "s": 54.839,
    "l": 75.686
  },
  "oklch": {
    "l": 0.76529,
    "c": 0.10543,
    "h": 312.7
  },
  "luminance": 0.42899
}

Semantic roles & 50–950 ramp

primary
#CA9FE3
secondary
#E3EFDC
accent
#C2235E
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CA9FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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