#AB75EF#AB75EF

#AB75EF is a light, vivid violet. Relative luminance 0.276; OKLCH L 67.0% C 0.179 H 302.2°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#AB75EF
RGBrgb(171, 117, 239)
HSLhsl(267, 79%, 70%)
HSVhsv(267, 51%, 94%)
CMYKcmyk(28.5%, 51%, 0%, 6.3%)
CIE-LABlab(59.54, 45.10, -53.87)
CIE-LCHlch(59.54, 70.26, 309.94°)
OKLaboklab(66.99% 0.0957 -0.1516)
OKLCHoklch(66.99% 0.179 302.2)
XYZxyz(38.7323, 27.6125, 84.9338)
Luminance0.2761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB75EF #B9EF75
analogous
#757CEF #AB75EF #E875EF
triadic
#AB75EF #EFAB75 #75EFAB
tetradic
#AB75EF #EF757C #B9EF75 #75EFE8
square
#AB75EF #EF757C #B9EF75 #75EFE8
split-complementary
#AB75EF #EFE875 #7CEF75
monochromatic
#6A18D1 #8A3EE9 #AB75EF #CCACF5 #EEE3FC

Accessibility & contrast

On white

3.22
#AB75EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#AB75EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB75EF
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB75EF#FFFFFF#000000##000000
##AB75EF1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8EF3
Deuteranopia (green-blind)
#5C8FEC
Tritanopia (blue-blind)
#9E8CA7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab75ef;
/* rgb */ color: rgb(171, 117, 239);
/* oklch */ color: oklch(67.0% 0.179 302.2);
Tailwind
colors: {
  custom: {
    50: '#c79ef5',
    500: '#ab75ef',
    950: '#000000',
  },
}
SCSS
$custom: #ab75ef;
$custom-light: #c79ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab75ef",
  "rgb": {
    "r": 171,
    "g": 117,
    "b": 239
  },
  "hsl": {
    "h": 266.557,
    "s": 79.221,
    "l": 69.804
  },
  "oklch": {
    "l": 0.66991,
    "c": 0.17929,
    "h": 302.2
  },
  "luminance": 0.27613
}

Semantic roles & 50–950 ramp

primary
#AB75EF
secondary
#E2F1CF
accent
#DC0A7F
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB75EF

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

Preview Lab → · Contrast checker → · Palette generator →

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