#AB75EC#AB75EC

#AB75EC is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.8% C 0.176 H 302.9°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#AB75EC
RGBrgb(171, 117, 236)
HSLhsl(267, 76%, 69%)
HSVhsv(267, 50%, 93%)
CMYKcmyk(27.5%, 50.4%, 0%, 7.5%)
CIE-LABlab(59.38, 44.39, -52.46)
CIE-LCHlch(59.38, 68.72, 310.24°)
OKLaboklab(66.82% 0.0954 -0.1475)
OKLCHoklch(66.82% 0.176 302.9)
XYZxyz(38.2928, 27.4367, 82.6191)
Luminance0.2744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB75EC #B6EC75
analogous
#757BEC #AB75EC #E775EC
triadic
#AB75EC #ECAB75 #75ECAB
tetradic
#AB75EC #EC757B #B6EC75 #75ECE7
square
#AB75EC #EC757B #B6EC75 #75ECE7
split-complementary
#AB75EC #ECE775 #7BEC75
monochromatic
#6B1CCB #8A3FE5 #AB75EC #CCABF3 #ECE1FB

Accessibility & contrast

On white

3.24
#AB75EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#AB75EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB75EC
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB75EC#FFFFFF#000000##000000
##AB75EC1.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8EF0
Deuteranopia (green-blind)
#5E8FE9
Tritanopia (blue-blind)
#9F8BA6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab75ec;
/* rgb */ color: rgb(171, 117, 236);
/* oklch */ color: oklch(66.8% 0.176 302.9);
Tailwind
colors: {
  custom: {
    50: '#c79ef3',
    500: '#ab75ec',
    950: '#000000',
  },
}
SCSS
$custom: #ab75ec;
$custom-light: #c79ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab75ec",
  "rgb": {
    "r": 171,
    "g": 117,
    "b": 236
  },
  "hsl": {
    "h": 267.227,
    "s": 75.796,
    "l": 69.216
  },
  "oklch": {
    "l": 0.6682,
    "c": 0.17569,
    "h": 302.9
  },
  "luminance": 0.27437
}

Semantic roles & 50–950 ramp

primary
#AB75EC
secondary
#E0F0CD
accent
#D80E7C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB75EC

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

Preview Lab → · Contrast checker → · Palette generator →

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