#CA8DF2#CA8DF2

#CA8DF2 is a light, vivid violet. Relative luminance 0.380; OKLCH L 74.1% C 0.154 H 310.9°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#CA8DF2
RGBrgb(202, 141, 242)
HSLhsl(276, 80%, 75%)
HSVhsv(276, 42%, 95%)
CMYKcmyk(16.5%, 41.7%, 0%, 5.1%)
CIE-LABlab(68.03, 41.16, -41.90)
CIE-LCHlch(68.03, 58.73, 314.49°)
OKLaboklab(74.11% 0.1007 -0.1162)
OKLCHoklch(74.11% 0.154 310.9)
XYZxyz(49.9062, 38.0179, 88.6963)
Luminance0.3802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8DF2 #B5F28D
analogous
#988DF2 #CA8DF2 #F28DE7
triadic
#CA8DF2 #F2CA8D #8DF2CA
tetradic
#CA8DF2 #F2988D #B5F28D #8DE7F2
square
#CA8DF2 #F2988D #B5F28D #8DE7F2
split-complementary
#CA8DF2 #E7F28D #8DF298
monochromatic
#971FE5 #B056EC #CA8DF2 #E4C4F8 #F2E4FC

Accessibility & contrast

On white

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

On black

8.60
#CA8DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8DF2
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8DF2#FFFFFF#000000##000000
##CA8DF21.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A3F6
Deuteranopia (green-blind)
#87A7EF
Tritanopia (blue-blind)
#C69CB4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ca8df2;
/* rgb */ color: rgb(202, 141, 242);
/* oklch */ color: oklch(74.1% 0.154 310.9);
Tailwind
colors: {
  custom: {
    50: '#dcaff6',
    500: '#ca8df2',
    950: '#000000',
  },
}
SCSS
$custom: #ca8df2;
$custom-light: #dcaff6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8df2",
  "rgb": {
    "r": 202,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 276.238,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.74113,
    "c": 0.15374,
    "h": 310.9
  },
  "luminance": 0.38017
}

Semantic roles & 50–950 ramp

primary
#CA8DF2
secondary
#E3F4D7
accent
#DC0A5D
background
#FDFAFF
surface
#FBF5FE
border
#D4CFD6
text
#151017
muted
#837F85

Preview Lab

Preview with #CA8DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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