#AB68F2#AB68F2

#AB68F2 is a light, highly saturated violet. Relative luminance 0.250; OKLCH L 65.2% C 0.202 H 303.7°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#AB68F2
RGBrgb(171, 104, 242)
HSLhsl(269, 84%, 68%)
HSVhsv(269, 57%, 95%)
CMYKcmyk(29.3%, 57%, 0%, 5.1%)
CIE-LABlab(57.05, 52.74, -59.52)
CIE-LCHlch(57.05, 79.52, 311.55°)
OKLaboklab(65.21% 0.1121 -0.1681)
OKLCHoklch(65.21% 0.202 303.7)
XYZxyz(37.7683, 24.9694, 86.8170)
Luminance0.2497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB68F2 #AFF268
analogous
#686AF2 #AB68F2 #F068F2
triadic
#AB68F2 #F2AB68 #68F2AB
tetradic
#AB68F2 #F2686A #AFF268 #68F2F0
square
#AB68F2 #F2686A #AFF268 #68F2F0
split-complementary
#AB68F2 #F2F068 #6AF268
monochromatic
#6D12CE #8C30ED #AB68F2 #CAA0F7 #EAD9FC

Accessibility & contrast

On white

3.50
#AB68F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#AB68F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB68F2
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB68F2#FFFFFF#000000##000000
##AB68F21.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D87F7
Deuteranopia (green-blind)
#4989EF
Tritanopia (blue-blind)
#9E83A3
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ab68f2;
/* rgb */ color: rgb(171, 104, 242);
/* oklch */ color: oklch(65.2% 0.202 303.7);
Tailwind
colors: {
  custom: {
    50: '#c896f7',
    500: '#ab68f2',
    950: '#000000',
  },
}
SCSS
$custom: #ab68f2;
$custom-light: #c896f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab68f2",
  "rgb": {
    "r": 171,
    "g": 104,
    "b": 242
  },
  "hsl": {
    "h": 269.13,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65209,
    "c": 0.20209,
    "h": 303.7
  },
  "luminance": 0.24969
}

Semantic roles & 50–950 ramp

primary
#AB68F2
secondary
#DCF0C6
accent
#E10576
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #AB68F2

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

Preview Lab → · Contrast checker → · Palette generator →

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