#CA8BF8#CA8BF8

#CA8BF8 is a light, vivid violet. Relative luminance 0.378; OKLCH L 74.1% C 0.164 H 309.6°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#CA8BF8
RGBrgb(202, 139, 248)
HSLhsl(275, 89%, 76%)
HSVhsv(275, 44%, 97%)
CMYKcmyk(18.5%, 44%, 0%, 2.7%)
CIE-LABlab(67.87, 43.53, -45.44)
CIE-LCHlch(67.87, 62.92, 313.77°)
OKLaboklab(74.08% 0.1044 -0.1264)
OKLCHoklch(74.08% 0.164 309.6)
XYZxyz(50.5299, 37.7998, 93.4229)
Luminance0.3780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8BF8 #B9F88B
analogous
#938BF8 #CA8BF8 #F88BEF
triadic
#CA8BF8 #F8CA8B #8BF8CA
tetradic
#CA8BF8 #F8938B #B9F88B #8BEFF8
square
#CA8BF8 #F8938B #B9F88B #8BEFF8
split-complementary
#CA8BF8 #EFF88B #8BF893
monochromatic
#9518F1 #B051F5 #CA8BF8 #E4C5FB #F2E2FD

Accessibility & contrast

On white

2.45
#CA8BF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#CA8BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8BF8
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8BF8#FFFFFF#000000##000000
##CA8BF81.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A2FC
Deuteranopia (green-blind)
#83A6F5
Tritanopia (blue-blind)
#C49CB6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ca8bf8;
/* rgb */ color: rgb(202, 139, 248);
/* oklch */ color: oklch(74.1% 0.164 309.6);
Tailwind
colors: {
  custom: {
    50: '#dcaefb',
    500: '#ca8bf8',
    950: '#000000',
  },
}
SCSS
$custom: #ca8bf8;
$custom-light: #dcaefb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8bf8",
  "rgb": {
    "r": 202,
    "g": 139,
    "b": 248
  },
  "hsl": {
    "h": 274.679,
    "s": 88.618,
    "l": 75.882
  },
  "oklch": {
    "l": 0.74081,
    "c": 0.16397,
    "h": 309.6
  },
  "luminance": 0.37799
}

Semantic roles & 50–950 ramp

primary
#CA8BF8
secondary
#E3F5D6
accent
#E50061
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CA8BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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