#CA8AFF#CA8AFF

#CA8AFF is a light, vivid violet. Relative luminance 0.380; OKLCH L 74.3% C 0.174 H 307.9°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#CA8AFF
RGBrgb(202, 138, 255)
HSLhsl(273, 100%, 77%)
HSVhsv(273, 46%, 100%)
CMYKcmyk(20.8%, 45.9%, 0%, 0%)
CIE-LABlab(67.99, 45.59, -49.08)
CIE-LCHlch(67.99, 66.99, 312.89°)
OKLaboklab(74.27% 0.1068 -0.137)
OKLCHoklch(74.27% 0.174 307.9)
XYZxyz(51.4921, 37.9541, 99.2016)
Luminance0.3795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8AFF #BFFF8A
analogous
#908AFF #CA8AFF #FF8AF9
triadic
#CA8AFF #FFCA8A #8AFFCA
tetradic
#CA8AFF #FF908A #BFFF8A #8AF9FF
square
#CA8AFF #FF908A #BFFF8A #8AF9FF
split-complementary
#CA8AFF #F9FF8A #8AFF90
monochromatic
#9310FF #AE4DFF #CA8AFF #E6C7FF #F1E0FF

Accessibility & contrast

On white

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

On black

8.59
#CA8AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8AFF
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8AFF#FFFFFF#000000##000000
##CA8AFF1.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA3FF
Deuteranopia (green-blind)
#7EA6FC
Tritanopia (blue-blind)
#C39DB9
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ca8aff;
/* rgb */ color: rgb(202, 138, 255);
/* oklch */ color: oklch(74.3% 0.174 307.9);
Tailwind
colors: {
  custom: {
    50: '#dcadff',
    500: '#ca8aff',
    950: '#000000',
  },
}
SCSS
$custom: #ca8aff;
$custom-light: #dcadff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8aff",
  "rgb": {
    "r": 202,
    "g": 138,
    "b": 255
  },
  "hsl": {
    "h": 272.821,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.74273,
    "c": 0.17369,
    "h": 307.9
  },
  "luminance": 0.37954
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA8AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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