#AB6BFC#AB6BFC

#AB6BFC is a light, highly saturated violet. Relative luminance 0.262; OKLCH L 66.3% C 0.209 H 301.2°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#AB6BFC
RGBrgb(171, 107, 252)
HSLhsl(266, 96%, 70%)
HSVhsv(266, 58%, 99%)
CMYKcmyk(32.1%, 57.5%, 0%, 1.2%)
CIE-LABlab(58.23, 53.55, -63.16)
CIE-LCHlch(58.23, 82.81, 310.29°)
OKLaboklab(66.26% 0.1085 -0.1789)
OKLCHoklch(66.26% 0.209 301.2)
XYZxyz(39.6188, 26.2014, 95.0467)
Luminance0.2620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6BFC #BCFC6B
analogous
#6B73FC #AB6BFC #F46BFC
triadic
#AB6BFC #FCAB6B #6BFCAB
tetradic
#AB6BFC #FC6B73 #BCFC6B #6BFCF4
square
#AB6BFC #FC6B73 #BCFC6B #6BFCF4
split-complementary
#AB6BFC #FCF46B #73FC6B
monochromatic
#6905E8 #892FFB #AB6BFC #CDA7FD #EEE1FE

Accessibility & contrast

On white

3.37
#AB6BFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#AB6BFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6BFC
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6BFC#FFFFFF#000000##000000
##AB6BFC1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#248BFF
Deuteranopia (green-blind)
#428BF9
Tritanopia (blue-blind)
#9B89AA
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab6bfc;
/* rgb */ color: rgb(171, 107, 252);
/* oklch */ color: oklch(66.3% 0.209 301.2);
Tailwind
colors: {
  custom: {
    50: '#c898fe',
    500: '#ab6bfc',
    950: '#000000',
  },
}
SCSS
$custom: #ab6bfc;
$custom-light: #c898fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6bfc",
  "rgb": {
    "r": 171,
    "g": 107,
    "b": 252
  },
  "hsl": {
    "h": 266.483,
    "s": 96.026,
    "l": 70.392
  },
  "oklch": {
    "l": 0.66264,
    "c": 0.2092,
    "h": 301.2
  },
  "luminance": 0.26202
}

Semantic roles & 50–950 ramp

primary
#AB6BFC
secondary
#E4F5CE
accent
#E60080
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AB6BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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