#AB67EC#AB67EC

#AB67EC is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.7% C 0.197 H 305.1°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AB67EC
RGBrgb(171, 103, 236)
HSLhsl(271, 78%, 66%)
HSVhsv(271, 56%, 93%)
CMYKcmyk(27.5%, 56.4%, 0%, 7.5%)
CIE-LABlab(56.50, 51.86, -57.05)
CIE-LCHlch(56.50, 77.10, 312.27°)
OKLaboklab(64.7% 0.1133 -0.1609)
OKLCHoklch(64.7% 0.197 305.1)
XYZxyz(36.7819, 24.4148, 82.1154)
Luminance0.2442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB67EC #A8EC67
analogous
#6967EC #AB67EC #EC67EA
triadic
#AB67EC #ECAB67 #67ECAB
tetradic
#AB67EC #EC6967 #A8EC67 #67EAEC
square
#AB67EC #EC6967 #A8EC67 #67EAEC
split-complementary
#AB67EC #EAEC67 #67EC69
monochromatic
#6E18C1 #8D31E5 #AB67EC #C99DF3 #E7D4FA

Accessibility & contrast

On white

3.57
#AB67EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#AB67EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB67EC
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB67EC#FFFFFF#000000##000000
##AB67EC1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3386F0
Deuteranopia (green-blind)
#4D88E9
Tritanopia (blue-blind)
#A081A0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ab67ec;
/* rgb */ color: rgb(171, 103, 236);
/* oklch */ color: oklch(64.7% 0.197 305.1);
Tailwind
colors: {
  custom: {
    50: '#c795f3',
    500: '#ab67ec',
    950: '#000000',
  },
}
SCSS
$custom: #ab67ec;
$custom-light: #c795f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab67ec",
  "rgb": {
    "r": 171,
    "g": 103,
    "b": 236
  },
  "hsl": {
    "h": 270.677,
    "s": 77.778,
    "l": 66.471
  },
  "oklch": {
    "l": 0.64698,
    "c": 0.19676,
    "h": 305.1
  },
  "luminance": 0.24415
}

Semantic roles & 50–950 ramp

primary
#AB67EC
secondary
#D7EDC2
accent
#DA0B70
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #AB67EC

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

Preview Lab → · Contrast checker → · Palette generator →

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