#CA8BFD#CA8BFD

#CA8BFD is a light, vivid violet. Relative luminance 0.381; OKLCH L 74.3% C 0.170 H 308.3°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#CA8BFD
RGBrgb(202, 139, 253)
HSLhsl(273, 97%, 77%)
HSVhsv(273, 45%, 99%)
CMYKcmyk(20.2%, 45.1%, 0%, 0.8%)
CIE-LABlab(68.10, 44.62, -47.81)
CIE-LCHlch(68.10, 65.39, 313.02°)
OKLaboklab(74.33% 0.1052 -0.1333)
OKLCHoklch(74.33% 0.17 308.3)
XYZxyz(51.3159, 38.1143, 97.5629)
Luminance0.3811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8BFD #BEFD8B
analogous
#918BFD #CA8BFD #FD8BF7
triadic
#CA8BFD #FDCA8B #8BFDCA
tetradic
#CA8BFD #FD918B #BEFD8B #8BF7FD
square
#CA8BFD #FD918B #BEFD8B #8BF7FD
split-complementary
#CA8BFD #F7FD8B #8BFD91
monochromatic
#9313FB #AF4FFC #CA8BFD #E5C7FE #F1E1FE

Accessibility & contrast

On white

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

On black

8.62
#CA8BFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8BFD
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8BFD#FFFFFF#000000##000000
##CA8BFD1.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA3FF
Deuteranopia (green-blind)
#80A7FA
Tritanopia (blue-blind)
#C39DB8
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ca8bfd;
/* rgb */ color: rgb(202, 139, 253);
/* oklch */ color: oklch(74.3% 0.170 308.3);
Tailwind
colors: {
  custom: {
    50: '#dcaefe',
    500: '#ca8bfd',
    950: '#000000',
  },
}
SCSS
$custom: #ca8bfd;
$custom-light: #dcaefe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8bfd",
  "rgb": {
    "r": 202,
    "g": 139,
    "b": 253
  },
  "hsl": {
    "h": 273.158,
    "s": 96.61,
    "l": 76.863
  },
  "oklch": {
    "l": 0.7433,
    "c": 0.16977,
    "h": 308.3
  },
  "luminance": 0.38114
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA8BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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