#AB65F2#AB65F2

#AB65F2 is a light, highly saturated violet. Relative luminance 0.244; OKLCH L 64.8% C 0.206 H 304.1°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AB65F2
RGBrgb(171, 101, 242)
HSLhsl(270, 84%, 67%)
HSVhsv(270, 58%, 95%)
CMYKcmyk(29.3%, 58.3%, 0%, 5.1%)
CIE-LABlab(56.46, 54.29, -60.45)
CIE-LCHlch(56.46, 81.25, 311.93°)
OKLaboklab(64.78% 0.1157 -0.1709)
OKLCHoklch(64.78% 0.206 304.1)
XYZxyz(37.4717, 24.3762, 86.7182)
Luminance0.2438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB65F2 #ACF265
analogous
#6566F2 #AB65F2 #F165F2
triadic
#AB65F2 #F2AB65 #65F2AB
tetradic
#AB65F2 #F26566 #ACF265 #65F2F1
square
#AB65F2 #F26566 #ACF265 #65F2F1
split-complementary
#AB65F2 #F2F165 #66F265
monochromatic
#6E11CB #8C2DED #AB65F2 #CA9DF7 #E9D6FC

Accessibility & contrast

On white

3.57
#AB65F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#AB65F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB65F2
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB65F2#FFFFFF#000000##000000
##AB65F21.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2386F7
Deuteranopia (green-blind)
#4587EF
Tritanopia (blue-blind)
#9E81A2
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ab65f2;
/* rgb */ color: rgb(171, 101, 242);
/* oklch */ color: oklch(64.8% 0.206 304.1);
Tailwind
colors: {
  custom: {
    50: '#c894f7',
    500: '#ab65f2',
    950: '#000000',
  },
}
SCSS
$custom: #ab65f2;
$custom-light: #c894f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab65f2",
  "rgb": {
    "r": 171,
    "g": 101,
    "b": 242
  },
  "hsl": {
    "h": 269.787,
    "s": 84.431,
    "l": 67.255
  },
  "oklch": {
    "l": 0.64783,
    "c": 0.20638,
    "h": 304.1
  },
  "luminance": 0.24376
}

Semantic roles & 50–950 ramp

primary
#AB65F2
secondary
#DAF0C3
accent
#E10574
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #AB65F2

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

Preview Lab → · Contrast checker → · Palette generator →

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