#CA8CFD#CA8CFD

#CA8CFD is a light, vivid violet. Relative luminance 0.384; OKLCH L 74.5% C 0.168 H 308.1°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#CA8CFD
RGBrgb(202, 140, 253)
HSLhsl(273, 97%, 77%)
HSVhsv(273, 45%, 99%)
CMYKcmyk(20.2%, 44.7%, 0%, 0.8%)
CIE-LABlab(68.32, 44.08, -47.47)
CIE-LCHlch(68.32, 64.78, 312.88°)
OKLaboklab(74.49% 0.1038 -0.1323)
OKLCHoklch(74.49% 0.168 308.1)
XYZxyz(51.4614, 38.4052, 97.6114)
Luminance0.3841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8CFD #BFFD8C
analogous
#928CFD #CA8CFD #FD8CF8
triadic
#CA8CFD #FDCA8C #8CFDCA
tetradic
#CA8CFD #FD928C #BFFD8C #8CF8FD
square
#CA8CFD #FD928C #BFFD8C #8CF8FD
split-complementary
#CA8CFD #F8FD8C #8CFD92
monochromatic
#9314FB #AE50FC #CA8CFD #E6C8FE #F1E1FE

Accessibility & contrast

On white

2.42
#CA8CFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#CA8CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8CFD
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8CFD#FFFFFF#000000##000000
##CA8CFD1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A4FF
Deuteranopia (green-blind)
#81A7FA
Tritanopia (blue-blind)
#C39EB9
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ca8cfd;
/* rgb */ color: rgb(202, 140, 253);
/* oklch */ color: oklch(74.5% 0.168 308.1);
Tailwind
colors: {
  custom: {
    50: '#dcaffe',
    500: '#ca8cfd',
    950: '#000000',
  },
}
SCSS
$custom: #ca8cfd;
$custom-light: #dcaffe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8cfd",
  "rgb": {
    "r": 202,
    "g": 140,
    "b": 253
  },
  "hsl": {
    "h": 272.92,
    "s": 96.581,
    "l": 77.059
  },
  "oklch": {
    "l": 0.7449,
    "c": 0.16817,
    "h": 308.1
  },
  "luminance": 0.38405
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA8CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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