#CA9BF0#CA9BF0

#CA9BF0 is a light, vivid violet. Relative luminance 0.423; OKLCH L 76.4% C 0.128 H 309.0°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#CA9BF0
RGBrgb(202, 155, 240)
HSLhsl(273, 74%, 77%)
HSVhsv(273, 35%, 94%)
CMYKcmyk(15.8%, 35.4%, 0%, 5.9%)
CIE-LABlab(71.07, 33.12, -36.07)
CIE-LCHlch(71.07, 48.97, 312.55°)
OKLaboklab(76.38% 0.0805 -0.0995)
OKLCHoklch(76.38% 0.128 309)
XYZxyz(51.8037, 42.2911, 87.8551)
Luminance0.4229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9BF0 #C1F09B
analogous
#9F9BF0 #CA9BF0 #F09BEC
triadic
#CA9BF0 #F0CA9B #9BF0CA
tetradic
#CA9BF0 #F09F9B #C1F09B #9BECF0
square
#CA9BF0 #F09F9B #C1F09B #9BECF0
split-complementary
#CA9BF0 #ECF09B #9BF09F
monochromatic
#9231E0 #AE66E8 #CA9BF0 #E6D0F8 #F1E4FB

Accessibility & contrast

On white

2.22
#CA9BF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#CA9BF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9BF0
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9BF0#FFFFFF#000000##000000
##CA9BF01.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BACF3
Deuteranopia (green-blind)
#95AFEE
Tritanopia (blue-blind)
#C5A7BB
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ca9bf0;
/* rgb */ color: rgb(202, 155, 240);
/* oklch */ color: oklch(76.4% 0.128 309.0);
Tailwind
colors: {
  custom: {
    50: '#dbb9f5',
    500: '#ca9bf0',
    950: '#000000',
  },
}
SCSS
$custom: #ca9bf0;
$custom-light: #dbb9f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9bf0",
  "rgb": {
    "r": 202,
    "g": 155,
    "b": 240
  },
  "hsl": {
    "h": 273.176,
    "s": 73.913,
    "l": 77.451
  },
  "oklch": {
    "l": 0.7638,
    "c": 0.128,
    "h": 309
  },
  "luminance": 0.42291
}

Semantic roles & 50–950 ramp

primary
#CA9BF0
secondary
#E4F3D8
accent
#D60F68
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CA9BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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