#CA8BFB#CA8BFB

#CA8BFB is a light, vivid violet. Relative luminance 0.380; OKLCH L 74.2% C 0.167 H 308.8°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#CA8BFB
RGBrgb(202, 139, 251)
HSLhsl(274, 93%, 76%)
HSVhsv(274, 45%, 98%)
CMYKcmyk(19.5%, 44.6%, 0%, 1.6%)
CIE-LABlab(68.01, 44.18, -46.86)
CIE-LCHlch(68.01, 64.40, 313.31°)
OKLaboklab(74.23% 0.1049 -0.1305)
OKLCHoklch(74.23% 0.167 308.8)
XYZxyz(50.9990, 37.9875, 95.8938)
Luminance0.3799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8BFB #BCFB8B
analogous
#928BFB #CA8BFB #FB8BF4
triadic
#CA8BFB #FBCA8B #8BFBCA
tetradic
#CA8BFB #FB928B #BCFB8B #8BF4FB
square
#CA8BFB #FB928B #BCFB8B #8BF4FB
split-complementary
#CA8BFB #F4FB8B #8BFB92
monochromatic
#9415F7 #AF50F9 #CA8BFB #E5C6FD #F1E1FE

Accessibility & contrast

On white

2.44
#CA8BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#CA8BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8BFB
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8BFB#FFFFFF#000000##000000
##CA8BFB1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca8bfb;
/* rgb */ color: rgb(202, 139, 251);
/* oklch */ color: oklch(74.2% 0.167 308.8);
Tailwind
colors: {
  custom: {
    50: '#dcaefd',
    500: '#ca8bfb',
    950: '#000000',
  },
}
SCSS
$custom: #ca8bfb;
$custom-light: #dcaefd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8bfb",
  "rgb": {
    "r": 202,
    "g": 139,
    "b": 251
  },
  "hsl": {
    "h": 273.75,
    "s": 93.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.7423,
    "c": 0.16745,
    "h": 308.8
  },
  "luminance": 0.37987
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA8BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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