#AB6BF8#AB6BF8

#AB6BF8 is a light, highly saturated violet. Relative luminance 0.260; OKLCH L 66.0% C 0.205 H 302.0°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AB6BF8
RGBrgb(171, 107, 248)
HSLhsl(267, 91%, 70%)
HSVhsv(267, 57%, 97%)
CMYKcmyk(31%, 56.9%, 0%, 2.7%)
CIE-LABlab(57.99, 52.60, -61.33)
CIE-LCHlch(57.99, 80.80, 310.62°)
OKLaboklab(66.01% 0.1085 -0.1735)
OKLCHoklch(66.01% 0.205 302)
XYZxyz(38.9916, 25.9505, 91.7435)
Luminance0.2595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6BF8 #B8F86B
analogous
#6B72F8 #AB6BF8 #F26BF8
triadic
#AB6BF8 #F8AB6B #6BF8AB
tetradic
#AB6BF8 #F86B72 #B8F86B #6BF8F2
square
#AB6BF8 #F86B72 #B8F86B #6BF8F2
split-complementary
#AB6BF8 #F8F26B #72F86B
monochromatic
#6B0BDE #8A31F5 #AB6BF8 #CCA5FB #EDE0FE

Accessibility & contrast

On white

3.39
#AB6BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#AB6BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6BF8
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6BF8#FFFFFF#000000##000000
##AB6BF81.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B8AFD
Deuteranopia (green-blind)
#478BF5
Tritanopia (blue-blind)
#9C87A7
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ab6bf8;
/* rgb */ color: rgb(171, 107, 248);
/* oklch */ color: oklch(66.0% 0.205 302.0);
Tailwind
colors: {
  custom: {
    50: '#c898fb',
    500: '#ab6bf8',
    950: '#000000',
  },
}
SCSS
$custom: #ab6bf8;
$custom-light: #c898fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6bf8",
  "rgb": {
    "r": 171,
    "g": 107,
    "b": 248
  },
  "hsl": {
    "h": 267.234,
    "s": 90.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66014,
    "c": 0.20462,
    "h": 302
  },
  "luminance": 0.25951
}

Semantic roles & 50–950 ramp

primary
#AB6BF8
secondary
#E1F4CB
accent
#E6007D
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AB6BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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