#AB85F9#AB85F9

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

Color values

HEX#AB85F9
RGBrgb(171, 133, 249)
HSLhsl(260, 91%, 75%)
HSVhsv(260, 47%, 98%)
CMYKcmyk(31.3%, 46.6%, 0%, 2.4%)
CIE-LABlab(63.57, 38.71, -52.99)
CIE-LCHlch(63.57, 65.62, 306.15°)
OKLaboklab(70.17% 0.0759 -0.1491)
OKLCHoklch(70.17% 0.167 297)
XYZxyz(42.2768, 32.2720, 93.6059)
Luminance0.3227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB85F9 #D3F985
analogous
#8599F9 #AB85F9 #E585F9
triadic
#AB85F9 #F9AB85 #85F9AB
tetradic
#AB85F9 #F98599 #D3F985 #85F9E5
square
#AB85F9 #F98599 #D3F985 #85F9E5
split-complementary
#AB85F9 #F9E585 #99F985
monochromatic
#5B10F3 #834BF6 #AB85F9 #D3BFFC #EBE2FE

Accessibility & contrast

On white

2.82
#AB85F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#AB85F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB85F9
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB85F9#FFFFFF#000000##000000
##AB85F91.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9AFD
Deuteranopia (green-blind)
#6799F6
Tritanopia (blue-blind)
#9A9BB3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ab85f9;
/* rgb */ color: rgb(171, 133, 249);
/* oklch */ color: oklch(70.2% 0.167 297.0);
Tailwind
colors: {
  custom: {
    50: '#c7a9fc',
    500: '#ab85f9',
    950: '#000000',
  },
}
SCSS
$custom: #ab85f9;
$custom-light: #c7a9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab85f9",
  "rgb": {
    "r": 171,
    "g": 133,
    "b": 249
  },
  "hsl": {
    "h": 259.655,
    "s": 90.625,
    "l": 74.902
  },
  "oklch": {
    "l": 0.70167,
    "c": 0.16729,
    "h": 297
  },
  "luminance": 0.32273
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB85F9

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

Preview Lab → · Contrast checker → · Palette generator →

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