#CA8FFE#CA8FFE

#CA8FFE is a light, vivid violet. Relative luminance 0.394; OKLCH L 75.0% C 0.165 H 307.4°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#CA8FFE
RGBrgb(202, 143, 254)
HSLhsl(272, 98%, 78%)
HSVhsv(272, 44%, 100%)
CMYKcmyk(20.5%, 43.7%, 0%, 0.4%)
CIE-LABlab(69.01, 42.69, -46.93)
CIE-LCHlch(69.01, 63.44, 312.29°)
OKLaboklab(75.02% 0.0999 -0.1307)
OKLCHoklch(75.02% 0.165 307.4)
XYZxyz(52.0655, 39.3577, 98.6007)
Luminance0.3936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8FFE #C3FE8F
analogous
#928FFE #CA8FFE #FE8FFA
triadic
#CA8FFE #FECA8F #8FFECA
tetradic
#CA8FFE #FE928F #C3FE8F #8FFAFE
square
#CA8FFE #FE928F #C3FE8F #8FFAFE
split-complementary
#CA8FFE #FAFE8F #8FFE92
monochromatic
#9116FD #AD52FD #CA8FFE #E7CCFF #F1E1FF

Accessibility & contrast

On white

2.37
#CA8FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#CA8FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8FFE
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8FFE#FFFFFF#000000##000000
##CA8FFE1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A6FF
Deuteranopia (green-blind)
#83A9FB
Tritanopia (blue-blind)
#C3A1BA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ca8ffe;
/* rgb */ color: rgb(202, 143, 254);
/* oklch */ color: oklch(75.0% 0.165 307.4);
Tailwind
colors: {
  custom: {
    50: '#dcb1ff',
    500: '#ca8ffe',
    950: '#000000',
  },
}
SCSS
$custom: #ca8ffe;
$custom-light: #dcb1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8ffe",
  "rgb": {
    "r": 202,
    "g": 143,
    "b": 254
  },
  "hsl": {
    "h": 271.892,
    "s": 98.23,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75023,
    "c": 0.16452,
    "h": 307.4
  },
  "luminance": 0.39357
}

Semantic roles & 50–950 ramp

primary
#CA8FFE
secondary
#E4F7D4
accent
#E6006C
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151118
muted
#838086

Preview Lab

Preview with #CA8FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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