#AB85EC#AB85EC

#AB85EC is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.5% C 0.151 H 299.5°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#AB85EC
RGBrgb(171, 133, 236)
HSLhsl(262, 73%, 72%)
HSVhsv(262, 44%, 93%)
CMYKcmyk(27.5%, 43.6%, 0%, 7.5%)
CIE-LABlab(62.92, 35.52, -46.85)
CIE-LCHlch(62.92, 58.79, 307.17°)
OKLaboklab(69.47% 0.0742 -0.1312)
OKLCHoklch(69.47% 0.151 299.5)
XYZxyz(40.3189, 31.4889, 83.2944)
Luminance0.3149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB85EC #C6EC85
analogous
#8592EC #AB85EC #DF85EC
triadic
#AB85EC #ECAB85 #85ECAB
tetradic
#AB85EC #EC8592 #C6EC85 #85ECDF
square
#AB85EC #EC8592 #C6EC85 #85ECDF
split-complementary
#AB85EC #ECDF85 #92EC85
monochromatic
#6421D5 #8750E4 #AB85EC #CFBAF4 #EDE5FB

Accessibility & contrast

On white

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

On black

7.30
#AB85EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB85EC
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB85EC#FFFFFF#000000##000000
##AB85EC1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898F0
Deuteranopia (green-blind)
#6F97E9
Tritanopia (blue-blind)
#9E97AD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ab85ec;
/* rgb */ color: rgb(171, 133, 236);
/* oklch */ color: oklch(69.5% 0.151 299.5);
Tailwind
colors: {
  custom: {
    50: '#c6a9f2',
    500: '#ab85ec',
    950: '#000000',
  },
}
SCSS
$custom: #ab85ec;
$custom-light: #c6a9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab85ec",
  "rgb": {
    "r": 171,
    "g": 133,
    "b": 236
  },
  "hsl": {
    "h": 262.136,
    "s": 73.05,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69469,
    "c": 0.15071,
    "h": 299.5
  },
  "luminance": 0.31489
}

Semantic roles & 50–950 ramp

primary
#AB85EC
secondary
#E9F3D8
accent
#D5108D
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AB85EC

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

Preview Lab → · Contrast checker → · Palette generator →

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