#CA8DFB#CA8DFB

#CA8DFB is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.6% C 0.164 H 308.5°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#CA8DFB
RGBrgb(202, 141, 251)
HSLhsl(273, 93%, 77%)
HSVhsv(273, 44%, 98%)
CMYKcmyk(19.5%, 43.8%, 0%, 1.6%)
CIE-LABlab(68.44, 43.11, -46.19)
CIE-LCHlch(68.44, 63.18, 313.02°)
OKLaboklab(74.55% 0.1022 -0.1286)
OKLCHoklch(74.55% 0.164 308.5)
XYZxyz(51.2912, 38.5720, 95.9912)
Luminance0.3857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8DFB #BEFB8D
analogous
#938DFB #CA8DFB #FB8DF5
triadic
#CA8DFB #FBCA8D #8DFBCA
tetradic
#CA8DFB #FB938D #BEFB8D #8DF5FB
square
#CA8DFB #FB938D #BEFB8D #8DF5FB
split-complementary
#CA8DFB #F5FB8D #8DFB93
monochromatic
#9317F7 #AF52F9 #CA8DFB #E5C8FD #F1E1FE

Accessibility & contrast

On white

2.41
#CA8DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#CA8DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8DFB
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8DFB#FFFFFF#000000##000000
##CA8DFB1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A4FF
Deuteranopia (green-blind)
#83A8F8
Tritanopia (blue-blind)
#C39EB8
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ca8dfb;
/* rgb */ color: rgb(202, 141, 251);
/* oklch */ color: oklch(74.6% 0.164 308.5);
Tailwind
colors: {
  custom: {
    50: '#dcaffd',
    500: '#ca8dfb',
    950: '#000000',
  },
}
SCSS
$custom: #ca8dfb;
$custom-light: #dcaffd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8dfb",
  "rgb": {
    "r": 202,
    "g": 141,
    "b": 251
  },
  "hsl": {
    "h": 273.273,
    "s": 93.22,
    "l": 76.863
  },
  "oklch": {
    "l": 0.74551,
    "c": 0.16422,
    "h": 308.5
  },
  "luminance": 0.38571
}

Semantic roles & 50–950 ramp

primary
#CA8DFB
secondary
#E4F6D5
accent
#E60066
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #CA8DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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