#CA8BEB#CA8BEB

#CA8BEB is a light, vivid violet. Relative luminance 0.370; OKLCH L 73.5% C 0.149 H 313.3°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#CA8BEB
RGBrgb(202, 139, 235)
HSLhsl(279, 71%, 73%)
HSVhsv(279, 41%, 92%)
CMYKcmyk(14%, 40.9%, 0%, 7.8%)
CIE-LABlab(67.29, 40.76, -39.21)
CIE-LCHlch(67.29, 56.56, 316.11°)
OKLaboklab(73.46% 0.1022 -0.1084)
OKLCHoklch(73.46% 0.149 313.3)
XYZxyz(48.5827, 37.0209, 83.1676)
Luminance0.3702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8BEB #ACEB8B
analogous
#9A8BEB #CA8BEB #EB8BDC
triadic
#CA8BEB #EBCA8B #8BEBCA
tetradic
#CA8BEB #EB9A8B #ACEB8B #8BDCEB
square
#CA8BEB #EB9A8B #ACEB8B #8BDCEB
split-complementary
#CA8BEB #DCEB8B #8BEB9A
monochromatic
#9A25D7 #B257E2 #CA8BEB #E2BFF4 #F3E5FA

Accessibility & contrast

On white

2.50
#CA8BEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#CA8BEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8BEB
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8BEB#FFFFFF#000000##000000
##CA8BEB1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A0EF
Deuteranopia (green-blind)
#89A5E8
Tritanopia (blue-blind)
#C799B0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ca8beb;
/* rgb */ color: rgb(202, 139, 235);
/* oklch */ color: oklch(73.5% 0.149 313.3);
Tailwind
colors: {
  custom: {
    50: '#dbaef2',
    500: '#ca8beb',
    950: '#000000',
  },
}
SCSS
$custom: #ca8beb;
$custom-light: #dbaef2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8beb",
  "rgb": {
    "r": 202,
    "g": 139,
    "b": 235
  },
  "hsl": {
    "h": 279.375,
    "s": 70.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.73455,
    "c": 0.14901,
    "h": 313.3
  },
  "luminance": 0.3702
}

Semantic roles & 50–950 ramp

primary
#CA8BEB
secondary
#E2F2D9
accent
#D31355
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CA8BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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