#CA8FF1#CA8FF1

#CA8FF1 is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.4% C 0.149 H 310.9°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#CA8FF1
RGBrgb(202, 143, 241)
HSLhsl(276, 78%, 75%)
HSVhsv(276, 41%, 95%)
CMYKcmyk(16.2%, 40.7%, 0%, 5.5%)
CIE-LABlab(68.43, 39.87, -40.74)
CIE-LCHlch(68.43, 57.00, 314.38°)
OKLaboklab(74.39% 0.0977 -0.1128)
OKLCHoklch(74.39% 0.149 310.9)
XYZxyz(50.0539, 38.5531, 88.0067)
Luminance0.3855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8FF1 #B6F18F
analogous
#998FF1 #CA8FF1 #F18FE7
triadic
#CA8FF1 #F1CA8F #8FF1CA
tetradic
#CA8FF1 #F1998F #B6F18F #8FE7F1
square
#CA8FF1 #F1998F #B6F18F #8FE7F1
split-complementary
#CA8FF1 #E7F18F #8FF199
monochromatic
#9722E3 #B059EA #CA8FF1 #E4C5F8 #F2E4FC

Accessibility & contrast

On white

2.41
#CA8FF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#CA8FF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8FF1
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8FF1#FFFFFF#000000##000000
##CA8FF11.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA4F5
Deuteranopia (green-blind)
#8AA8EE
Tritanopia (blue-blind)
#C69DB5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ca8ff1;
/* rgb */ color: rgb(202, 143, 241);
/* oklch */ color: oklch(74.4% 0.149 310.9);
Tailwind
colors: {
  custom: {
    50: '#dbb1f6',
    500: '#ca8ff1',
    950: '#000000',
  },
}
SCSS
$custom: #ca8ff1;
$custom-light: #dbb1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8ff1",
  "rgb": {
    "r": 202,
    "g": 143,
    "b": 241
  },
  "hsl": {
    "h": 276.122,
    "s": 77.778,
    "l": 75.294
  },
  "oklch": {
    "l": 0.74394,
    "c": 0.14925,
    "h": 310.9
  },
  "luminance": 0.38552
}

Semantic roles & 50–950 ramp

primary
#CA8FF1
secondary
#E3F3D8
accent
#DA0B5E
background
#FDFAFF
surface
#FBF5FE
border
#D4CFD6
text
#151117
muted
#838085

Preview Lab

Preview with #CA8FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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