#CA8BF9#CA8BF9

#CA8BF9 is a light, vivid violet. Relative luminance 0.379; OKLCH L 74.1% C 0.165 H 309.3°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#CA8BF9
RGBrgb(202, 139, 249)
HSLhsl(274, 90%, 76%)
HSVhsv(274, 44%, 98%)
CMYKcmyk(18.9%, 44.2%, 0%, 2.4%)
CIE-LABlab(67.92, 43.74, -45.91)
CIE-LCHlch(67.92, 63.42, 313.61°)
OKLaboklab(74.13% 0.1046 -0.1278)
OKLCHoklch(74.13% 0.165 309.3)
XYZxyz(50.6854, 37.8621, 94.2422)
Luminance0.3786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8BF9 #BAF98B
analogous
#938BF9 #CA8BF9 #F98BF1
triadic
#CA8BF9 #F9CA8B #8BF9CA
tetradic
#CA8BF9 #F9938B #BAF98B #8BF1F9
square
#CA8BF9 #F9938B #BAF98B #8BF1F9
split-complementary
#CA8BF9 #F1F98B #8BF993
monochromatic
#9517F3 #AF51F6 #CA8BF9 #E5C5FC #F2E2FD

Accessibility & contrast

On white

2.45
#CA8BF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#CA8BF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8BF9
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8BF9#FFFFFF#000000##000000
##CA8BF91.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A3FD
Deuteranopia (green-blind)
#82A7F6
Tritanopia (blue-blind)
#C49CB6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ca8bf9;
/* rgb */ color: rgb(202, 139, 249);
/* oklch */ color: oklch(74.1% 0.165 309.3);
Tailwind
colors: {
  custom: {
    50: '#dcaefb',
    500: '#ca8bf9',
    950: '#000000',
  },
}
SCSS
$custom: #ca8bf9;
$custom-light: #dcaefb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8bf9",
  "rgb": {
    "r": 202,
    "g": 139,
    "b": 249
  },
  "hsl": {
    "h": 274.364,
    "s": 90.164,
    "l": 76.078
  },
  "oklch": {
    "l": 0.7413,
    "c": 0.16513,
    "h": 309.3
  },
  "luminance": 0.37861
}

Semantic roles & 50–950 ramp

primary
#CA8BF9
secondary
#E3F6D5
accent
#E60062
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CA8BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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