#AB6BE3#AB6BE3

#AB6BE3 is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.8% C 0.180 H 306.7°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#AB6BE3
RGBrgb(171, 107, 227)
HSLhsl(272, 68%, 65%)
HSVhsv(272, 53%, 89%)
CMYKcmyk(24.7%, 52.9%, 0%, 11%)
CIE-LABlab(56.80, 47.68, -51.53)
CIE-LCHlch(56.80, 70.20, 312.78°)
OKLaboklab(64.76% 0.1078 -0.1448)
OKLCHoklch(64.76% 0.181 306.7)
XYZxyz(35.9146, 24.7197, 75.5375)
Luminance0.2472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6BE3 #A3E36B
analogous
#6F6BE3 #AB6BE3 #E36BDF
triadic
#AB6BE3 #E3AB6B #6BE3AB
tetradic
#AB6BE3 #E36F6B #A3E36B #6BDFE3
square
#AB6BE3 #E36F6B #A3E36B #6BDFE3
split-complementary
#AB6BE3 #DFE36B #6BE36F
monochromatic
#6F22B2 #8E38D9 #AB6BE3 #C89EED #E5D2F6

Accessibility & contrast

On white

3.53
#AB6BE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#AB6BE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6BE3
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6BE3#FFFFFF#000000##000000
##AB6BE31.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4586E7
Deuteranopia (green-blind)
#5989E0
Tritanopia (blue-blind)
#A2819D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ab6be3;
/* rgb */ color: rgb(171, 107, 227);
/* oklch */ color: oklch(64.8% 0.180 306.7);
Tailwind
colors: {
  custom: {
    50: '#c797ec',
    500: '#ab6be3',
    950: '#000000',
  },
}
SCSS
$custom: #ab6be3;
$custom-light: #c797ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6be3",
  "rgb": {
    "r": 171,
    "g": 107,
    "b": 227
  },
  "hsl": {
    "h": 272,
    "s": 68.182,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64756,
    "c": 0.1805,
    "h": 306.7
  },
  "luminance": 0.24719
}

Semantic roles & 50–950 ramp

primary
#AB6BE3
secondary
#D4E9C1
accent
#D0156D
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB6BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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