#AB5CF3#AB5CF3

#AB5CF3 is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.6% C 0.220 H 305.0°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#AB5CF3
RGBrgb(171, 92, 243)
HSLhsl(271, 86%, 66%)
HSVhsv(271, 62%, 95%)
CMYKcmyk(29.6%, 62.1%, 0%, 4.7%)
CIE-LABlab(54.85, 59.03, -63.60)
CIE-LCHlch(54.85, 86.77, 312.86°)
OKLaboklab(63.63% 0.1262 -0.1801)
OKLCHoklch(63.63% 0.22 305)
XYZxyz(36.7958, 22.7835, 87.2358)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5CF3 #A4F35C
analogous
#5F5CF3 #AB5CF3 #F35CEF
triadic
#AB5CF3 #F3AB5C #5CF3AB
tetradic
#AB5CF3 #F35F5C #A4F35C #5CEFF3
square
#AB5CF3 #F35F5C #A4F35C #5CEFF3
split-complementary
#AB5CF3 #EFF35C #5CF35F
monochromatic
#6F0FC6 #8E23EF #AB5CF3 #C895F7 #E6CEFB

Accessibility & contrast

On white

3.78
#AB5CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#AB5CF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5CF3
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5CF3#FFFFFF#000000##000000
##AB5CF31.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F8
Deuteranopia (green-blind)
#3683F0
Tritanopia (blue-blind)
#9E7C9F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ab5cf3;
/* rgb */ color: rgb(171, 92, 243);
/* oklch */ color: oklch(63.6% 0.220 305.0);
Tailwind
colors: {
  custom: {
    50: '#c88ef8',
    500: '#ab5cf3',
    950: '#000000',
  },
}
SCSS
$custom: #ab5cf3;
$custom-light: #c88ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5cf3",
  "rgb": {
    "r": 171,
    "g": 92,
    "b": 243
  },
  "hsl": {
    "h": 271.391,
    "s": 86.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.63629,
    "c": 0.21992,
    "h": 305
  },
  "luminance": 0.22783
}

Semantic roles & 50–950 ramp

primary
#AB5CF3
secondary
#D4EFBC
accent
#E3036E
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AB5CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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