#AB85EB#AB85EB

#AB85EB is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.4% C 0.149 H 299.7°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#AB85EB
RGBrgb(171, 133, 235)
HSLhsl(262, 72%, 72%)
HSVhsv(262, 43%, 92%)
CMYKcmyk(27.2%, 43.4%, 0%, 7.8%)
CIE-LABlab(62.87, 35.28, -46.37)
CIE-LCHlch(62.87, 58.27, 307.27°)
OKLaboklab(69.42% 0.074 -0.1298)
OKLCHoklch(69.42% 0.149 299.7)
XYZxyz(40.1741, 31.4309, 82.5314)
Luminance0.3143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB85EB #C5EB85
analogous
#8592EB #AB85EB #DE85EB
triadic
#AB85EB #EBAB85 #85EBAB
tetradic
#AB85EB #EB8592 #C5EB85 #85EBDE
square
#AB85EB #EB8592 #C5EB85 #85EBDE
split-complementary
#AB85EB #EBDE85 #92EB85
monochromatic
#6423D3 #8750E2 #AB85EB #CFBAF4 #EDE5FB

Accessibility & contrast

On white

2.88
#AB85EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#AB85EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB85EB
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB85EB#FFFFFF#000000##000000
##AB85EB1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898EF
Deuteranopia (green-blind)
#7097E8
Tritanopia (blue-blind)
#9F97AD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ab85eb;
/* rgb */ color: rgb(171, 133, 235);
/* oklch */ color: oklch(69.4% 0.149 299.7);
Tailwind
colors: {
  custom: {
    50: '#c6a9f2',
    500: '#ab85eb',
    950: '#000000',
  },
}
SCSS
$custom: #ab85eb;
$custom-light: #c6a9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab85eb",
  "rgb": {
    "r": 171,
    "g": 133,
    "b": 235
  },
  "hsl": {
    "h": 262.353,
    "s": 71.831,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69416,
    "c": 0.14942,
    "h": 299.7
  },
  "luminance": 0.31431
}

Semantic roles & 50–950 ramp

primary
#AB85EB
secondary
#E9F2D9
accent
#D4128C
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AB85EB

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

Preview Lab → · Contrast checker → · Palette generator →

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