#AB47FF#AB47FF

#AB47FF is a light, highly saturated violet. Relative luminance 0.204; OKLCH L 62.0% C 0.257 H 304.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#AB47FF
RGBrgb(171, 71, 255)
HSLhsl(273, 100%, 64%)
HSVhsv(273, 72%, 100%)
CMYKcmyk(32.9%, 72.2%, 0%, 0%)
CIE-LABlab(52.27, 71.13, -74.45)
CIE-LCHlch(52.27, 102.97, 313.69°)
OKLaboklab(62.04% 0.1461 -0.2119)
OKLCHoklch(62.04% 0.257 304.6)
XYZxyz(37.0937, 20.3846, 96.5688)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB47FF #9BFF47
analogous
#4F47FF #AB47FF #FF47F7
triadic
#AB47FF #FFAB47 #47FFAB
tetradic
#AB47FF #FF4F47 #9BFF47 #47F7FF
square
#AB47FF #FF4F47 #9BFF47 #47F7FF
split-complementary
#AB47FF #F7FF47 #47FF4F
monochromatic
#6F00CC #8F0AFF #AB47FF #C784FF #E3C1FF

Accessibility & contrast

On white

4.14
#AB47FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#AB47FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB47FF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB47FF#FFFFFF#000000##000000
##AB47FF1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#007DFB
Tritanopia (blue-blind)
#9B74A0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ab47ff;
/* rgb */ color: rgb(171, 71, 255);
/* oklch */ color: oklch(62.0% 0.257 304.6);
Tailwind
colors: {
  custom: {
    50: '#ca83ff',
    500: '#ab47ff',
    950: '#000000',
  },
}
SCSS
$custom: #ab47ff;
$custom-light: #ca83ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab47ff",
  "rgb": {
    "r": 171,
    "g": 71,
    "b": 255
  },
  "hsl": {
    "h": 272.609,
    "s": 100,
    "l": 63.922
  },
  "oklch": {
    "l": 0.62038,
    "c": 0.25739,
    "h": 304.6
  },
  "luminance": 0.20384
}

Semantic roles & 50–950 ramp

primary
#AB47FF
secondary
#CEF1B1
accent
#E60069
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140B18
muted
#837C86

Preview Lab

Preview with #AB47FF

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

Preview Lab → · Contrast checker → · Palette generator →

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