#AB85F7#AB85F7

#AB85F7 is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.1% C 0.165 H 297.3°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#AB85F7
RGBrgb(171, 133, 247)
HSLhsl(260, 88%, 75%)
HSVhsv(260, 46%, 97%)
CMYKcmyk(30.8%, 46.2%, 0%, 3.1%)
CIE-LABlab(63.46, 38.22, -52.05)
CIE-LCHlch(63.46, 64.57, 306.29°)
OKLaboklab(70.06% 0.0757 -0.1463)
OKLCHoklch(70.06% 0.165 297.3)
XYZxyz(41.9665, 32.1479, 91.9718)
Luminance0.3215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB85F7 #D1F785
analogous
#8598F7 #AB85F7 #E485F7
triadic
#AB85F7 #F7AB85 #85F7AB
tetradic
#AB85F7 #F78598 #D1F785 #85F7E4
square
#AB85F7 #F78598 #D1F785 #85F7E4
split-complementary
#AB85F7 #F7E485 #98F785
monochromatic
#5C12EF #834CF3 #AB85F7 #D3BEFB #EBE2FD

Accessibility & contrast

On white

2.83
#AB85F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#AB85F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB85F7
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB85F7#FFFFFF#000000##000000
##AB85F71.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#619AFB
Deuteranopia (green-blind)
#6898F4
Tritanopia (blue-blind)
#9B9AB2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ab85f7;
/* rgb */ color: rgb(171, 133, 247);
/* oklch */ color: oklch(70.1% 0.165 297.3);
Tailwind
colors: {
  custom: {
    50: '#c7a9fa',
    500: '#ab85f7',
    950: '#000000',
  },
}
SCSS
$custom: #ab85f7;
$custom-light: #c7a9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab85f7",
  "rgb": {
    "r": 171,
    "g": 133,
    "b": 247
  },
  "hsl": {
    "h": 260,
    "s": 87.692,
    "l": 74.51
  },
  "oklch": {
    "l": 0.70058,
    "c": 0.16476,
    "h": 297.3
  },
  "luminance": 0.32148
}

Semantic roles & 50–950 ramp

primary
#AB85F7
secondary
#EBF5D6
accent
#E40199
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AB85F7

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

Preview Lab → · Contrast checker → · Palette generator →

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