#AB68EF#AB68EF

#AB68EF is a light, vivid violet. Relative luminance 0.248; OKLCH L 65.0% C 0.199 H 304.3°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AB68EF
RGBrgb(171, 104, 239)
HSLhsl(270, 81%, 67%)
HSVhsv(270, 56%, 94%)
CMYKcmyk(28.5%, 56.5%, 0%, 6.3%)
CIE-LABlab(56.87, 52.04, -58.13)
CIE-LCHlch(56.87, 78.02, 311.84°)
OKLaboklab(65.03% 0.1121 -0.1641)
OKLCHoklch(65.03% 0.199 304.3)
XYZxyz(37.3215, 24.7907, 84.4635)
Luminance0.2479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB68EF #ACEF68
analogous
#6869EF #AB68EF #EF68EF
triadic
#AB68EF #EFAB68 #68EFAB
tetradic
#AB68EF #EF6869 #ACEF68 #68EFEF
square
#AB68EF #EF6869 #ACEF68 #68EFEF
split-complementary
#AB68EF #EFEF68 #69EF68
monochromatic
#6E15C7 #8C31E9 #AB68EF #CA9FF5 #E9D7FB

Accessibility & contrast

On white

3.52
#AB68EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#AB68EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB68EF
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB68EF#FFFFFF#000000##000000
##AB68EF1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3187F3
Deuteranopia (green-blind)
#4C88EC
Tritanopia (blue-blind)
#9F82A2
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ab68ef;
/* rgb */ color: rgb(171, 104, 239);
/* oklch */ color: oklch(65.0% 0.199 304.3);
Tailwind
colors: {
  custom: {
    50: '#c896f5',
    500: '#ab68ef',
    950: '#000000',
  },
}
SCSS
$custom: #ab68ef;
$custom-light: #c896f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab68ef",
  "rgb": {
    "r": 171,
    "g": 104,
    "b": 239
  },
  "hsl": {
    "h": 269.778,
    "s": 80.838,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65025,
    "c": 0.19869,
    "h": 304.3
  },
  "luminance": 0.24791
}

Semantic roles & 50–950 ramp

primary
#AB68EF
secondary
#DAEFC4
accent
#DD0874
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #AB68EF

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

Preview Lab → · Contrast checker → · Palette generator →

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