#CA8CED#CA8CED

#CA8CED is a light, vivid violet. Relative luminance 0.374; OKLCH L 73.7% C 0.150 H 312.5°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#CA8CED
RGBrgb(202, 140, 237)
HSLhsl(278, 73%, 74%)
HSVhsv(278, 41%, 93%)
CMYKcmyk(14.8%, 40.9%, 0%, 7.1%)
CIE-LABlab(67.60, 40.64, -39.84)
CIE-LCHlch(67.60, 56.91, 315.57°)
OKLaboklab(73.71% 0.1012 -0.1102)
OKLCHoklch(73.71% 0.15 312.5)
XYZxyz(49.0187, 37.4281, 84.7464)
Luminance0.3743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8CED #AFED8C
analogous
#9A8CED #CA8CED #ED8CDF
triadic
#CA8CED #EDCA8C #8CEDCA
tetradic
#CA8CED #ED9A8C #AFED8C #8CDFED
square
#CA8CED #ED9A8C #AFED8C #8CDFED
split-complementary
#CA8CED #DFED8C #8CED9A
monochromatic
#9922DC #B257E5 #CA8CED #E2C1F5 #F3E5FB

Accessibility & contrast

On white

2.47
#CA8CED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#CA8CED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8CED
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8CED#FFFFFF#000000##000000
##CA8CED1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A1F1
Deuteranopia (green-blind)
#89A6EA
Tritanopia (blue-blind)
#C79AB1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ca8ced;
/* rgb */ color: rgb(202, 140, 237);
/* oklch */ color: oklch(73.7% 0.150 312.5);
Tailwind
colors: {
  custom: {
    50: '#dbaff3',
    500: '#ca8ced',
    950: '#000000',
  },
}
SCSS
$custom: #ca8ced;
$custom-light: #dbaff3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8ced",
  "rgb": {
    "r": 202,
    "g": 140,
    "b": 237
  },
  "hsl": {
    "h": 278.351,
    "s": 72.932,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73713,
    "c": 0.14963,
    "h": 312.5
  },
  "luminance": 0.37427
}

Semantic roles & 50–950 ramp

primary
#CA8CED
secondary
#E2F3D8
accent
#D51057
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CA8CED

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

Preview Lab → · Contrast checker → · Palette generator →

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