#CA8FFF#CA8FFF

#CA8FFF is a light, vivid violet. Relative luminance 0.394; OKLCH L 75.1% C 0.166 H 307.1°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#CA8FFF
RGBrgb(202, 143, 255)
HSLhsl(272, 100%, 78%)
HSVhsv(272, 44%, 100%)
CMYKcmyk(20.8%, 43.9%, 0%, 0%)
CIE-LABlab(69.06, 42.91, -47.40)
CIE-LCHlch(69.06, 63.94, 312.15°)
OKLaboklab(75.07% 0.1001 -0.1321)
OKLCHoklch(75.07% 0.166 307.1)
XYZxyz(52.2260, 39.4220, 99.4462)
Luminance0.3942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8FFF #C4FF8F
analogous
#928FFF #CA8FFF #FF8FFC
triadic
#CA8FFF #FFCA8F #8FFFCA
tetradic
#CA8FFF #FF928F #C4FF8F #8FFCFF
square
#CA8FFF #FF928F #C4FF8F #8FFCFF
split-complementary
#CA8FFF #FCFF8F #8FFF92
monochromatic
#9015FF #AD52FF #CA8FFF #E7CCFF #F1E0FF

Accessibility & contrast

On white

2.36
#CA8FFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#CA8FFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8FFF
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8FFF#FFFFFF#000000##000000
##CA8FFF1.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A6FF
Deuteranopia (green-blind)
#83A9FC
Tritanopia (blue-blind)
#C2A1BB
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ca8fff;
/* rgb */ color: rgb(202, 143, 255);
/* oklch */ color: oklch(75.1% 0.166 307.1);
Tailwind
colors: {
  custom: {
    50: '#dcb1ff',
    500: '#ca8fff',
    950: '#000000',
  },
}
SCSS
$custom: #ca8fff;
$custom-light: #dcb1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8fff",
  "rgb": {
    "r": 202,
    "g": 143,
    "b": 255
  },
  "hsl": {
    "h": 271.607,
    "s": 100,
    "l": 78.039
  },
  "oklch": {
    "l": 0.75073,
    "c": 0.16571,
    "h": 307.1
  },
  "luminance": 0.39421
}

Semantic roles & 50–950 ramp

primary
#CA8FFF
secondary
#E5F7D4
accent
#E6006D
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151118
muted
#838086

Preview Lab

Preview with #CA8FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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