#AB65EB#AB65EB

#AB65EB is a light, vivid violet. Relative luminance 0.240; OKLCH L 64.3% C 0.199 H 305.6°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#AB65EB
RGBrgb(171, 101, 235)
HSLhsl(271, 77%, 66%)
HSVhsv(271, 57%, 92%)
CMYKcmyk(27.2%, 57%, 0%, 7.8%)
CIE-LABlab(56.05, 52.67, -57.21)
CIE-LCHlch(56.05, 77.76, 312.63°)
OKLaboklab(64.35% 0.1157 -0.1614)
OKLCHoklch(64.35% 0.199 305.6)
XYZxyz(36.4405, 23.9637, 81.2869)
Luminance0.2396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB65EB #A5EB65
analogous
#6865EB #AB65EB #EB65E8
triadic
#AB65EB #EBAB65 #65EBAB
tetradic
#AB65EB #EB6865 #A5EB65 #65E8EB
square
#AB65EB #EB6865 #A5EB65 #65E8EB
split-complementary
#AB65EB #E8EB65 #65EB68
monochromatic
#6E19BD #8D2FE4 #AB65EB #C99BF2 #E6D1F9

Accessibility & contrast

On white

3.63
#AB65EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#AB65EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB65EB
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB65EB#FFFFFF#000000##000000
##AB65EB1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F84EF
Deuteranopia (green-blind)
#4C87E8
Tritanopia (blue-blind)
#A07F9F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ab65eb;
/* rgb */ color: rgb(171, 101, 235);
/* oklch */ color: oklch(64.3% 0.199 305.6);
Tailwind
colors: {
  custom: {
    50: '#c794f2',
    500: '#ab65eb',
    950: '#000000',
  },
}
SCSS
$custom: #ab65eb;
$custom-light: #c794f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab65eb",
  "rgb": {
    "r": 171,
    "g": 101,
    "b": 235
  },
  "hsl": {
    "h": 271.343,
    "s": 77.011,
    "l": 65.882
  },
  "oklch": {
    "l": 0.6435,
    "c": 0.19856,
    "h": 305.6
  },
  "luminance": 0.23963
}

Semantic roles & 50–950 ramp

primary
#AB65EB
secondary
#D5ECC0
accent
#D90C6E
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #AB65EB

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

Preview Lab → · Contrast checker → · Palette generator →

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