#CA8DF1#CA8DF1

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

Color values

HEX#CA8DF1
RGBrgb(202, 141, 241)
HSLhsl(277, 78%, 75%)
HSVhsv(277, 41%, 95%)
CMYKcmyk(16.2%, 41.5%, 0%, 5.5%)
CIE-LABlab(67.99, 40.95, -41.42)
CIE-LCHlch(67.99, 58.24, 314.67°)
OKLaboklab(74.07% 0.1005 -0.1148)
OKLCHoklch(74.07% 0.153 311.2)
XYZxyz(49.7564, 37.9580, 87.9075)
Luminance0.3796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8DF1 #B4F18D
analogous
#988DF1 #CA8DF1 #F18DE6
triadic
#CA8DF1 #F1CA8D #8DF1CA
tetradic
#CA8DF1 #F1988D #B4F18D #8DE6F1
square
#CA8DF1 #F1988D #B4F18D #8DE6F1
split-complementary
#CA8DF1 #E6F18D #8DF198
monochromatic
#9720E4 #B156EA #CA8DF1 #E3C4F8 #F2E4FC

Accessibility & contrast

On white

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

On black

8.59
#CA8DF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8DF1
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8DF1#FFFFFF#000000##000000
##CA8DF11.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A3F5
Deuteranopia (green-blind)
#88A7EE
Tritanopia (blue-blind)
#C69CB4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ca8df1;
/* rgb */ color: rgb(202, 141, 241);
/* oklch */ color: oklch(74.1% 0.153 311.2);
Tailwind
colors: {
  custom: {
    50: '#dcaff6',
    500: '#ca8df1',
    950: '#000000',
  },
}
SCSS
$custom: #ca8df1;
$custom-light: #dcaff6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8df1",
  "rgb": {
    "r": 202,
    "g": 141,
    "b": 241
  },
  "hsl": {
    "h": 276.6,
    "s": 78.125,
    "l": 74.902
  },
  "oklch": {
    "l": 0.74065,
    "c": 0.15258,
    "h": 311.2
  },
  "luminance": 0.37957
}

Semantic roles & 50–950 ramp

primary
#CA8DF1
secondary
#E2F3D8
accent
#DA0B5C
background
#FDFAFF
surface
#FBF5FE
border
#D4CFD6
text
#151017
muted
#837F85

Preview Lab

Preview with #CA8DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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