#CA8BF4#CA8BF4

#CA8BF4 is a light, vivid violet. Relative luminance 0.376; OKLCH L 73.9% C 0.159 H 310.6°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#CA8BF4
RGBrgb(202, 139, 244)
HSLhsl(276, 83%, 75%)
HSVhsv(276, 43%, 96%)
CMYKcmyk(17.2%, 43%, 0%, 4.3%)
CIE-LABlab(67.69, 42.66, -43.53)
CIE-LCHlch(67.69, 60.95, 314.42°)
OKLaboklab(73.89% 0.1038 -0.1209)
OKLCHoklch(73.89% 0.159 310.6)
XYZxyz(49.9159, 37.5543, 90.1896)
Luminance0.3755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8BF4 #B5F48B
analogous
#958BF4 #CA8BF4 #F48BE9
triadic
#CA8BF4 #F4CA8B #8BF4CA
tetradic
#CA8BF4 #F4958B #B5F48B #8BE9F4
square
#CA8BF4 #F4958B #B5F48B #8BE9F4
split-complementary
#CA8BF4 #E9F48B #8BF495
monochromatic
#971BE9 #B053EF #CA8BF4 #E4C3F9 #F2E3FC

Accessibility & contrast

On white

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

On black

8.51
#CA8BF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8BF4
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8BF4#FFFFFF#000000##000000
##CA8BF41.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca8bf4;
/* rgb */ color: rgb(202, 139, 244);
/* oklch */ color: oklch(73.9% 0.159 310.6);
Tailwind
colors: {
  custom: {
    50: '#dcaef8',
    500: '#ca8bf4',
    950: '#000000',
  },
}
SCSS
$custom: #ca8bf4;
$custom-light: #dcaef8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8bf4",
  "rgb": {
    "r": 202,
    "g": 139,
    "b": 244
  },
  "hsl": {
    "h": 276,
    "s": 82.677,
    "l": 75.098
  },
  "oklch": {
    "l": 0.73885,
    "c": 0.15934,
    "h": 310.6
  },
  "luminance": 0.37553
}

Semantic roles & 50–950 ramp

primary
#CA8BF4
secondary
#E3F4D7
accent
#DF065D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CA8BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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