#CA8DF7#CA8DF7

#CA8DF7 is a light, vivid violet. Relative luminance 0.383; OKLCH L 74.4% C 0.160 H 309.5°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#CA8DF7
RGBrgb(202, 141, 247)
HSLhsl(275, 87%, 76%)
HSVhsv(275, 43%, 97%)
CMYKcmyk(18.2%, 42.9%, 0%, 3.1%)
CIE-LABlab(68.26, 42.24, -44.29)
CIE-LCHlch(68.26, 61.20, 313.64°)
OKLaboklab(74.35% 0.1015 -0.1231)
OKLCHoklch(74.35% 0.16 309.5)
XYZxyz(50.6674, 38.3224, 92.7055)
Luminance0.3832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8DF7 #BAF78D
analogous
#958DF7 #CA8DF7 #F78DEF
triadic
#CA8DF7 #F7CA8D #8DF7CA
tetradic
#CA8DF7 #F7958D #BAF78D #8DEFF7
square
#CA8DF7 #F7958D #BAF78D #8DEFF7
split-complementary
#CA8DF7 #EFF78D #8DF795
monochromatic
#951BEF #AF54F3 #CA8DF7 #E5C6FB #F2E2FD

Accessibility & contrast

On white

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

On black

8.66
#CA8DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8DF7
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8DF7#FFFFFF#000000##000000
##CA8DF71.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A4FB
Deuteranopia (green-blind)
#85A7F4
Tritanopia (blue-blind)
#C49DB6
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ca8df7;
/* rgb */ color: rgb(202, 141, 247);
/* oklch */ color: oklch(74.4% 0.160 309.5);
Tailwind
colors: {
  custom: {
    50: '#dcaffa',
    500: '#ca8df7',
    950: '#000000',
  },
}
SCSS
$custom: #ca8df7;
$custom-light: #dcaffa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8df7",
  "rgb": {
    "r": 202,
    "g": 141,
    "b": 247
  },
  "hsl": {
    "h": 274.528,
    "s": 86.885,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74354,
    "c": 0.15955,
    "h": 309.5
  },
  "luminance": 0.38322
}

Semantic roles & 50–950 ramp

primary
#CA8DF7
secondary
#E3F5D6
accent
#E30262
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #CA8DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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