#AB3DFF#AB3DFF

#AB3DFF is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 61.1% C 0.267 H 305.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#AB3DFF
RGBrgb(171, 61, 255)
HSLhsl(274, 100%, 62%)
HSVhsv(274, 76%, 100%)
CMYKcmyk(32.9%, 76.1%, 0%, 0%)
CIE-LABlab(50.94, 74.93, -76.62)
CIE-LCHlch(50.94, 107.17, 314.36°)
OKLaboklab(61.1% 0.1545 -0.2182)
OKLCHoklch(61.1% 0.267 305.3)
XYZxyz(36.5093, 19.2157, 96.3740)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3DFF #91FF3D
analogous
#4A3DFF #AB3DFF #FF3DF2
triadic
#AB3DFF #FFAB3D #3DFFAB
tetradic
#AB3DFF #FF4A3D #91FF3D #3DF2FF
square
#AB3DFF #FF4A3D #91FF3D #3DF2FF
split-complementary
#AB3DFF #F2FF3D #3DFF4A
monochromatic
#6E00C2 #9000FF #AB3DFF #C67AFF #E0B7FF

Accessibility & contrast

On white

4.34
#AB3DFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#AB3DFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB3DFF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3DFF#FFFFFF#000000##000000
##AB3DFF1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076FF
Deuteranopia (green-blind)
#0079FB
Tritanopia (blue-blind)
#9B6F9D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ab3dff;
/* rgb */ color: rgb(171, 61, 255);
/* oklch */ color: oklch(61.1% 0.267 305.3);
Tailwind
colors: {
  custom: {
    50: '#cb7eff',
    500: '#ab3dff',
    950: '#000000',
  },
}
SCSS
$custom: #ab3dff;
$custom-light: #cb7eff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3dff",
  "rgb": {
    "r": 171,
    "g": 61,
    "b": 255
  },
  "hsl": {
    "h": 274.021,
    "s": 100,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61101,
    "c": 0.26738,
    "h": 305.3
  },
  "luminance": 0.19215
}

Semantic roles & 50–950 ramp

primary
#AB3DFF
secondary
#C7F0A8
accent
#E60063
background
#FDF8FF
surface
#FAEFFF
border
#D3CAD7
text
#140B18
muted
#837C86

Preview Lab

Preview with #AB3DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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