#AB85EF#AB85EF

#AB85EF is a light, vivid violet. Relative luminance 0.317; OKLCH L 69.6% C 0.155 H 298.9°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#AB85EF
RGBrgb(171, 133, 239)
HSLhsl(262, 77%, 73%)
HSVhsv(262, 44%, 94%)
CMYKcmyk(28.5%, 44.4%, 0%, 6.3%)
CIE-LABlab(63.06, 36.25, -48.28)
CIE-LCHlch(63.06, 60.37, 306.90°)
OKLaboklab(69.63% 0.0746 -0.1353)
OKLCHoklch(69.63% 0.155 298.9)
XYZxyz(40.7584, 31.6647, 85.6092)
Luminance0.3166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB85EF #C9EF85
analogous
#8594EF #AB85EF #E085EF
triadic
#AB85EF #EFAB85 #85EFAB
tetradic
#AB85EF #EF8594 #C9EF85 #85EFE0
square
#AB85EF #EF8594 #C9EF85 #85EFE0
split-complementary
#AB85EF #EFE085 #94EF85
monochromatic
#621DDD #864FE8 #AB85EF #D0BBF6 #ECE4FB

Accessibility & contrast

On white

2.86
#AB85EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#AB85EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB85EF
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB85EF#FFFFFF#000000##000000
##AB85EF1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6699F3
Deuteranopia (green-blind)
#6E98EC
Tritanopia (blue-blind)
#9D98AF
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ab85ef;
/* rgb */ color: rgb(171, 133, 239);
/* oklch */ color: oklch(69.6% 0.155 298.9);
Tailwind
colors: {
  custom: {
    50: '#c6a9f5',
    500: '#ab85ef',
    950: '#000000',
  },
}
SCSS
$custom: #ab85ef;
$custom-light: #c6a9f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab85ef",
  "rgb": {
    "r": 171,
    "g": 133,
    "b": 239
  },
  "hsl": {
    "h": 261.509,
    "s": 76.812,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69627,
    "c": 0.15455,
    "h": 298.9
  },
  "luminance": 0.31665
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB85EF

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

Preview Lab → · Contrast checker → · Palette generator →

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