#CA8BFA#CA8BFA

#CA8BFA is a light, vivid violet. Relative luminance 0.379; OKLCH L 74.2% C 0.166 H 309.0°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#CA8BFA
RGBrgb(202, 139, 250)
HSLhsl(274, 92%, 76%)
HSVhsv(274, 44%, 98%)
CMYKcmyk(19.2%, 44.4%, 0%, 2%)
CIE-LABlab(67.97, 43.96, -46.39)
CIE-LCHlch(67.97, 63.91, 313.46°)
OKLaboklab(74.18% 0.1047 -0.1292)
OKLCHoklch(74.18% 0.166 309)
XYZxyz(50.8418, 37.9246, 95.0658)
Luminance0.3792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8BFA #BBFA8B
analogous
#938BFA #CA8BFA #FA8BF3
triadic
#CA8BFA #FACA8B #8BFACA
tetradic
#CA8BFA #FA938B #BBFA8B #8BF3FA
square
#CA8BFA #FA938B #BBFA8B #8BF3FA
split-complementary
#CA8BFA #F3FA8B #8BFA93
monochromatic
#9416F5 #AF50F7 #CA8BFA #E5C6FD #F2E2FE

Accessibility & contrast

On white

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

On black

8.58
#CA8BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8BFA
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8BFA#FFFFFF#000000##000000
##CA8BFA1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A3FE
Deuteranopia (green-blind)
#81A7F7
Tritanopia (blue-blind)
#C49DB7
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ca8bfa;
/* rgb */ color: rgb(202, 139, 250);
/* oklch */ color: oklch(74.2% 0.166 309.0);
Tailwind
colors: {
  custom: {
    50: '#dcaefc',
    500: '#ca8bfa',
    950: '#000000',
  },
}
SCSS
$custom: #ca8bfa;
$custom-light: #dcaefc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8bfa",
  "rgb": {
    "r": 202,
    "g": 139,
    "b": 250
  },
  "hsl": {
    "h": 274.054,
    "s": 91.736,
    "l": 76.275
  },
  "oklch": {
    "l": 0.7418,
    "c": 0.16629,
    "h": 309
  },
  "luminance": 0.37924
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA8BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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