#AB68ED#AB68ED

#AB68ED is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.9% C 0.196 H 304.8°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#AB68ED
RGBrgb(171, 104, 237)
HSLhsl(270, 79%, 67%)
HSVhsv(270, 56%, 93%)
CMYKcmyk(27.8%, 56.1%, 0%, 7.1%)
CIE-LABlab(56.76, 51.57, -57.20)
CIE-LCHlch(56.76, 77.01, 312.04°)
OKLaboklab(64.9% 0.112 -0.1613)
OKLCHoklch(64.9% 0.196 304.8)
XYZxyz(37.0276, 24.6732, 82.9161)
Luminance0.2467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB68ED #AAED68
analogous
#6968ED #AB68ED #ED68EC
triadic
#AB68ED #EDAB68 #68EDAB
tetradic
#AB68ED #ED6968 #AAED68 #68ECED
square
#AB68ED #ED6968 #AAED68 #68ECED
split-complementary
#AB68ED #ECED68 #68ED69
monochromatic
#6E17C3 #8D31E6 #AB68ED #C99FF4 #E8D5FA

Accessibility & contrast

On white

3.54
#AB68ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#AB68ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB68ED
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB68ED#FFFFFF#000000##000000
##AB68ED1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3486F1
Deuteranopia (green-blind)
#4E88EA
Tritanopia (blue-blind)
#A082A1
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ab68ed;
/* rgb */ color: rgb(171, 104, 237);
/* oklch */ color: oklch(64.9% 0.196 304.8);
Tailwind
colors: {
  custom: {
    50: '#c796f3',
    500: '#ab68ed',
    950: '#000000',
  },
}
SCSS
$custom: #ab68ed;
$custom-light: #c796f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab68ed",
  "rgb": {
    "r": 171,
    "g": 104,
    "b": 237
  },
  "hsl": {
    "h": 270.226,
    "s": 78.698,
    "l": 66.863
  },
  "oklch": {
    "l": 0.64903,
    "c": 0.19643,
    "h": 304.8
  },
  "luminance": 0.24673
}

Semantic roles & 50–950 ramp

primary
#AB68ED
secondary
#D8EEC3
accent
#DB0B72
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #AB68ED

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

Preview Lab → · Contrast checker → · Palette generator →

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