#CA8BF3#CA8BF3

#CA8BF3 is a light, vivid violet. Relative luminance 0.375; OKLCH L 73.8% C 0.158 H 310.9°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#CA8BF3
RGBrgb(202, 139, 243)
HSLhsl(276, 81%, 75%)
HSVhsv(276, 43%, 95%)
CMYKcmyk(16.9%, 42.8%, 0%, 4.7%)
CIE-LABlab(67.65, 42.45, -43.06)
CIE-LCHlch(67.65, 60.46, 314.59°)
OKLaboklab(73.84% 0.1036 -0.1195)
OKLCHoklch(73.84% 0.158 310.9)
XYZxyz(49.7645, 37.4937, 89.3921)
Luminance0.3749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8BF3 #B4F38B
analogous
#968BF3 #CA8BF3 #F38BE8
triadic
#CA8BF3 #F3CA8B #8BF3CA
tetradic
#CA8BF3 #F3968B #B4F38B #8BE8F3
square
#CA8BF3 #F3968B #B4F38B #8BE8F3
split-complementary
#CA8BF3 #E8F38B #8BF396
monochromatic
#971CE8 #B154ED #CA8BF3 #E3C2F9 #F2E3FC

Accessibility & contrast

On white

2.47
#CA8BF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#CA8BF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8BF3
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8BF3#FFFFFF#000000##000000
##CA8BF31.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A2F7
Deuteranopia (green-blind)
#85A6F0
Tritanopia (blue-blind)
#C59BB4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ca8bf3;
/* rgb */ color: rgb(202, 139, 243);
/* oklch */ color: oklch(73.8% 0.158 310.9);
Tailwind
colors: {
  custom: {
    50: '#dcaef7',
    500: '#ca8bf3',
    950: '#000000',
  },
}
SCSS
$custom: #ca8bf3;
$custom-light: #dcaef7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8bf3",
  "rgb": {
    "r": 202,
    "g": 139,
    "b": 243
  },
  "hsl": {
    "h": 276.346,
    "s": 81.25,
    "l": 74.902
  },
  "oklch": {
    "l": 0.73836,
    "c": 0.15818,
    "h": 310.9
  },
  "luminance": 0.37493
}

Semantic roles & 50–950 ramp

primary
#CA8BF3
secondary
#E2F4D7
accent
#DE085C
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CA8BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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