#AB5BEC#AB5BEC

#AB5BEC is a light, highly saturated violet. Relative luminance 0.222; OKLCH L 63.0% C 0.214 H 306.7°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#AB5BEC
RGBrgb(171, 91, 236)
HSLhsl(273, 79%, 64%)
HSVhsv(273, 61%, 93%)
CMYKcmyk(27.5%, 61.4%, 0%, 7.5%)
CIE-LABlab(54.23, 57.93, -60.68)
CIE-LCHlch(54.23, 83.89, 313.67°)
OKLaboklab(63.05% 0.1277 -0.1715)
OKLCHoklch(63.05% 0.214 306.7)
XYZxyz(35.6728, 22.1966, 81.7457)
Luminance0.2220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5BEC #9CEC5B
analogous
#635BEC #AB5BEC #EC5BE5
triadic
#AB5BEC #ECAB5B #5BECAB
tetradic
#AB5BEC #EC635B #9CEC5B #5BE5EC
square
#AB5BEC #EC635B #9CEC5B #5BE5EC
split-complementary
#AB5BEC #E5EC5B #5BEC63
monochromatic
#6F15B7 #8F24E6 #AB5BEC #C792F2 #E3C9F9

Accessibility & contrast

On white

3.86
#AB5BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#AB5BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5BEC
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5BEC#FFFFFF#000000##000000
##AB5BEC1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#017FF1
Deuteranopia (green-blind)
#3E82E9
Tritanopia (blue-blind)
#A0789B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ab5bec;
/* rgb */ color: rgb(171, 91, 236);
/* oklch */ color: oklch(63.0% 0.214 306.7);
Tailwind
colors: {
  custom: {
    50: '#c88df3',
    500: '#ab5bec',
    950: '#000000',
  },
}
SCSS
$custom: #ab5bec;
$custom-light: #c88df3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5bec",
  "rgb": {
    "r": 171,
    "g": 91,
    "b": 236
  },
  "hsl": {
    "h": 273.103,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63046,
    "c": 0.21381,
    "h": 306.7
  },
  "luminance": 0.22196
}

Semantic roles & 50–950 ramp

primary
#AB5BEC
secondary
#CFEBB8
accent
#DC0A68
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AB5BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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