#AB68EE#AB68EE

#AB68EE is a light, vivid violet. Relative luminance 0.247; OKLCH L 65.0% C 0.198 H 304.6°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AB68EE
RGBrgb(171, 104, 238)
HSLhsl(270, 80%, 67%)
HSVhsv(270, 56%, 93%)
CMYKcmyk(28.2%, 56.3%, 0%, 6.7%)
CIE-LABlab(56.81, 51.80, -57.66)
CIE-LCHlch(56.81, 77.52, 311.94°)
OKLaboklab(64.96% 0.1121 -0.1627)
OKLCHoklch(64.96% 0.198 304.6)
XYZxyz(37.1741, 24.7318, 83.6876)
Luminance0.2473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB68EE #ABEE68
analogous
#6868EE #AB68EE #EE68EE
triadic
#AB68EE #EEAB68 #68EEAB
tetradic
#AB68EE #EE6868 #ABEE68 #68EEEE
square
#AB68EE #EE6868 #ABEE68 #68EEEE
split-complementary
#AB68EE #EEEE68 #68EE68
monochromatic
#6E16C5 #8C31E8 #AB68EE #CA9FF4 #E8D6FA

Accessibility & contrast

On white

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

On black

5.95
#AB68EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB68EE
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB68EE#FFFFFF#000000##000000
##AB68EE1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3386F2
Deuteranopia (green-blind)
#4D88EB
Tritanopia (blue-blind)
#9F82A1
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ab68ee;
/* rgb */ color: rgb(171, 104, 238);
/* oklch */ color: oklch(65.0% 0.198 304.6);
Tailwind
colors: {
  custom: {
    50: '#c896f4',
    500: '#ab68ee',
    950: '#000000',
  },
}
SCSS
$custom: #ab68ee;
$custom-light: #c896f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab68ee",
  "rgb": {
    "r": 171,
    "g": 104,
    "b": 238
  },
  "hsl": {
    "h": 270,
    "s": 79.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.64964,
    "c": 0.19756,
    "h": 304.6
  },
  "luminance": 0.24732
}

Semantic roles & 50–950 ramp

primary
#AB68EE
secondary
#D9EEC4
accent
#DC0973
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #AB68EE

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

Preview Lab → · Contrast checker → · Palette generator →

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