#AB68EB#AB68EB

#AB68EB is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.8% C 0.194 H 305.2°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#AB68EB
RGBrgb(171, 104, 235)
HSLhsl(271, 77%, 66%)
HSVhsv(271, 56%, 92%)
CMYKcmyk(27.2%, 55.7%, 0%, 7.8%)
CIE-LABlab(56.64, 51.11, -56.26)
CIE-LCHlch(56.64, 76.01, 312.25°)
OKLaboklab(64.78% 0.112 -0.1586)
OKLCHoklch(64.78% 0.194 305.2)
XYZxyz(36.7371, 24.5569, 81.3858)
Luminance0.2456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB68EB #A8EB68
analogous
#6A68EB #AB68EB #EB68EA
triadic
#AB68EB #EBAB68 #68EBAB
tetradic
#AB68EB #EB6A68 #A8EB68 #68EAEB
square
#AB68EB #EB6A68 #A8EB68 #68EAEB
split-complementary
#AB68EB #EAEB68 #68EB6A
monochromatic
#6E19BF #8D32E4 #AB68EB #C99EF2 #E7D4F9

Accessibility & contrast

On white

3.55
#AB68EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#AB68EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB68EB
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB68EB#FFFFFF#000000##000000
##AB68EB1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3686EF
Deuteranopia (green-blind)
#5088E8
Tritanopia (blue-blind)
#A081A0
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ab68eb;
/* rgb */ color: rgb(171, 104, 235);
/* oklch */ color: oklch(64.8% 0.194 305.2);
Tailwind
colors: {
  custom: {
    50: '#c795f2',
    500: '#ab68eb',
    950: '#000000',
  },
}
SCSS
$custom: #ab68eb;
$custom-light: #c795f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab68eb",
  "rgb": {
    "r": 171,
    "g": 104,
    "b": 235
  },
  "hsl": {
    "h": 270.687,
    "s": 76.608,
    "l": 66.471
  },
  "oklch": {
    "l": 0.64782,
    "c": 0.19416,
    "h": 305.2
  },
  "luminance": 0.24557
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB68EB

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

Preview Lab → · Contrast checker → · Palette generator →

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