#CA8BFE#CA8BFE

#CA8BFE is a light, vivid violet. Relative luminance 0.382; OKLCH L 74.4% C 0.171 H 308.0°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#CA8BFE
RGBrgb(202, 139, 254)
HSLhsl(273, 98%, 77%)
HSVhsv(273, 45%, 100%)
CMYKcmyk(20.5%, 45.3%, 0%, 0.4%)
CIE-LABlab(68.15, 44.84, -48.28)
CIE-LCHlch(68.15, 65.89, 312.88°)
OKLaboklab(74.38% 0.1053 -0.1346)
OKLCHoklch(74.38% 0.171 308)
XYZxyz(51.4757, 38.1781, 98.4041)
Luminance0.3818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8BFE #BFFE8B
analogous
#918BFE #CA8BFE #FE8BF8
triadic
#CA8BFE #FECA8B #8BFECA
tetradic
#CA8BFE #FE918B #BFFE8B #8BF8FE
square
#CA8BFE #FE918B #BFFE8B #8BF8FE
split-complementary
#CA8BFE #F8FE8B #8BFE91
monochromatic
#9312FD #AE4EFD #CA8BFE #E6C8FF #F1E1FF

Accessibility & contrast

On white

2.43
#CA8BFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#CA8BFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8BFE
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8BFE#FFFFFF#000000##000000
##CA8BFE1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA4FF
Deuteranopia (green-blind)
#7FA7FB
Tritanopia (blue-blind)
#C39EB9
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ca8bfe;
/* rgb */ color: rgb(202, 139, 254);
/* oklch */ color: oklch(74.4% 0.171 308.0);
Tailwind
colors: {
  custom: {
    50: '#dcaeff',
    500: '#ca8bfe',
    950: '#000000',
  },
}
SCSS
$custom: #ca8bfe;
$custom-light: #dcaeff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8bfe",
  "rgb": {
    "r": 202,
    "g": 139,
    "b": 254
  },
  "hsl": {
    "h": 272.87,
    "s": 98.291,
    "l": 77.059
  },
  "oklch": {
    "l": 0.74381,
    "c": 0.17094,
    "h": 308
  },
  "luminance": 0.38178
}

Semantic roles & 50–950 ramp

primary
#CA8BFE
secondary
#E4F7D4
accent
#E60068
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CA8BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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