#AB5FEE#AB5FEE

#AB5FEE is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 63.7% C 0.210 H 305.7°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#AB5FEE
RGBrgb(171, 95, 238)
HSLhsl(272, 81%, 65%)
HSVhsv(272, 60%, 93%)
CMYKcmyk(28.2%, 60.1%, 0%, 6.7%)
CIE-LABlab(55.09, 56.40, -60.43)
CIE-LCHlch(55.09, 82.66, 313.03°)
OKLaboklab(63.7% 0.1229 -0.1708)
OKLCHoklch(63.7% 0.21 305.7)
XYZxyz(36.3161, 23.0157, 83.4016)
Luminance0.2301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5FEE #A2EE5F
analogous
#635FEE #AB5FEE #EE5FEA
triadic
#AB5FEE #EEAB5F #5FEEAB
tetradic
#AB5FEE #EE635F #A2EE5F #5FEAEE
square
#AB5FEE #EE635F #A2EE5F #5FEAEE
split-complementary
#AB5FEE #EAEE5F #5FEE63
monochromatic
#6F14BE #8E28E8 #AB5FEE #C896F4 #E5CEFA

Accessibility & contrast

On white

3.75
#AB5FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#AB5FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5FEE
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5FEE#FFFFFF#000000##000000
##AB5FEE1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1582F3
Deuteranopia (green-blind)
#4184EB
Tritanopia (blue-blind)
#A07C9E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ab5fee;
/* rgb */ color: rgb(171, 95, 238);
/* oklch */ color: oklch(63.7% 0.210 305.7);
Tailwind
colors: {
  custom: {
    50: '#c890f4',
    500: '#ab5fee',
    950: '#000000',
  },
}
SCSS
$custom: #ab5fee;
$custom-light: #c890f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5fee",
  "rgb": {
    "r": 171,
    "g": 95,
    "b": 238
  },
  "hsl": {
    "h": 271.888,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.63704,
    "c": 0.21042,
    "h": 305.7
  },
  "luminance": 0.23015
}

Semantic roles & 50–950 ramp

primary
#AB5FEE
secondary
#D3ECBC
accent
#DD086C
background
#FCF9FF
surface
#F9F1FE
border
#D2CBD6
text
#140D17
muted
#827E85

Preview Lab

Preview with #AB5FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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