#CA8AFD#CA8AFD

#CA8AFD is a light, vivid violet. Relative luminance 0.378; OKLCH L 74.2% C 0.171 H 308.4°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#CA8AFD
RGBrgb(202, 138, 253)
HSLhsl(273, 97%, 77%)
HSVhsv(273, 45%, 99%)
CMYKcmyk(20.2%, 45.5%, 0%, 0.8%)
CIE-LABlab(67.89, 45.15, -48.14)
CIE-LCHlch(67.89, 66.00, 313.17°)
OKLaboklab(74.17% 0.1065 -0.1342)
OKLCHoklch(74.17% 0.171 308.4)
XYZxyz(51.1718, 37.8260, 97.5149)
Luminance0.3782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8AFD #BDFD8A
analogous
#918AFD #CA8AFD #FD8AF7
triadic
#CA8AFD #FDCA8A #8AFDCA
tetradic
#CA8AFD #FD918A #BDFD8A #8AF7FD
square
#CA8AFD #FD918A #BDFD8A #8AF7FD
split-complementary
#CA8AFD #F7FD8A #8AFD91
monochromatic
#9312FB #AF4EFC #CA8AFD #E5C6FE #F1E1FE

Accessibility & contrast

On white

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

On black

8.57
#CA8AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8AFD
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8AFD#FFFFFF#000000##000000
##CA8AFD1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA3FF
Deuteranopia (green-blind)
#7FA6FA
Tritanopia (blue-blind)
#C39DB8
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ca8afd;
/* rgb */ color: rgb(202, 138, 253);
/* oklch */ color: oklch(74.2% 0.171 308.4);
Tailwind
colors: {
  custom: {
    50: '#dcadfe',
    500: '#ca8afd',
    950: '#000000',
  },
}
SCSS
$custom: #ca8afd;
$custom-light: #dcadfe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8afd",
  "rgb": {
    "r": 202,
    "g": 138,
    "b": 253
  },
  "hsl": {
    "h": 273.391,
    "s": 96.639,
    "l": 76.667
  },
  "oklch": {
    "l": 0.74171,
    "c": 0.17137,
    "h": 308.4
  },
  "luminance": 0.37825
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA8AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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