#AB85FA#AB85FA

#AB85FA is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.2% C 0.169 H 296.8°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#AB85FA
RGBrgb(171, 133, 250)
HSLhsl(259, 92%, 75%)
HSVhsv(259, 47%, 98%)
CMYKcmyk(31.6%, 46.8%, 0%, 2%)
CIE-LABlab(63.62, 38.96, -53.45)
CIE-LCHlch(63.62, 66.15, 306.09°)
OKLaboklab(70.22% 0.076 -0.1504)
OKLCHoklch(70.22% 0.169 296.8)
XYZxyz(42.4332, 32.3346, 94.4295)
Luminance0.3234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB85FA #D4FA85
analogous
#859AFA #AB85FA #E585FA
triadic
#AB85FA #FAAB85 #85FAAB
tetradic
#AB85FA #FA859A #D4FA85 #85FAE5
square
#AB85FA #FA859A #D4FA85 #85FAE5
split-complementary
#AB85FA #FAE585 #9AFA85
monochromatic
#5A0FF5 #834AF8 #AB85FA #D3C0FC #EBE2FE

Accessibility & contrast

On white

2.81
#AB85FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#AB85FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB85FA
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB85FA#FFFFFF#000000##000000
##AB85FA1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9BFE
Deuteranopia (green-blind)
#6699F7
Tritanopia (blue-blind)
#9A9BB4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ab85fa;
/* rgb */ color: rgb(171, 133, 250);
/* oklch */ color: oklch(70.2% 0.169 296.8);
Tailwind
colors: {
  custom: {
    50: '#c7a9fc',
    500: '#ab85fa',
    950: '#000000',
  },
}
SCSS
$custom: #ab85fa;
$custom-light: #c7a9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab85fa",
  "rgb": {
    "r": 171,
    "g": 133,
    "b": 250
  },
  "hsl": {
    "h": 259.487,
    "s": 92.126,
    "l": 75.098
  },
  "oklch": {
    "l": 0.70223,
    "c": 0.16857,
    "h": 296.8
  },
  "luminance": 0.32335
}

Semantic roles & 50–950 ramp

primary
#AB85FA
secondary
#EBF6D5
accent
#E6009B
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AB85FA

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

Preview Lab → · Contrast checker → · Palette generator →

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