#AB3DFA#AB3DFA

#AB3DFA is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 60.7% C 0.263 H 306.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AB3DFA
RGBrgb(171, 61, 250)
HSLhsl(275, 95%, 61%)
HSVhsv(275, 76%, 98%)
CMYKcmyk(31.6%, 75.6%, 0%, 2%)
CIE-LABlab(50.57, 73.88, -74.44)
CIE-LCHlch(50.57, 104.87, 314.78°)
OKLaboklab(60.72% 0.1556 -0.2118)
OKLCHoklch(60.72% 0.263 306.3)
XYZxyz(35.7149, 18.8979, 92.1901)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3DFA #8CFA3D
analogous
#4C3DFA #AB3DFA #FA3DEA
triadic
#AB3DFA #FAAB3D #3DFAAB
tetradic
#AB3DFA #FA4C3D #8CFA3D #3DEAFA
square
#AB3DFA #FA4C3D #8CFA3D #3DEAFA
split-complementary
#AB3DFA #EAFA3D #3DFA4C
monochromatic
#6D05B8 #9006F4 #AB3DFA #C579FC #DFB4FD

Accessibility & contrast

On white

4.39
#AB3DFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#AB3DFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB3DFA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3DFA#FFFFFF#000000##000000
##AB3DFA1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075FF
Deuteranopia (green-blind)
#0079F6
Tritanopia (blue-blind)
#9D6D9A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab3dfa;
/* rgb */ color: rgb(171, 61, 250);
/* oklch */ color: oklch(60.7% 0.263 306.3);
Tailwind
colors: {
  custom: {
    50: '#ca7efd',
    500: '#ab3dfa',
    950: '#000000',
  },
}
SCSS
$custom: #ab3dfa;
$custom-light: #ca7efd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3dfa",
  "rgb": {
    "r": 171,
    "g": 61,
    "b": 250
  },
  "hsl": {
    "h": 274.921,
    "s": 94.975,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60725,
    "c": 0.26282,
    "h": 306.3
  },
  "luminance": 0.18898
}

Semantic roles & 50–950 ramp

primary
#AB3DFA
secondary
#C4EDA6
accent
#E60060
background
#FDF8FF
surface
#FAEFFF
border
#D3CAD7
text
#140B18
muted
#837C86

Preview Lab

Preview with #AB3DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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