#A651DB#A651DB

#A651DB is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.1% C 0.208 H 309.9°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#A651DB
RGBrgb(166, 81, 219)
HSLhsl(277, 66%, 59%)
HSVhsv(277, 63%, 86%)
CMYKcmyk(24.2%, 63%, 0%, 14.1%)
CIE-LABlab(50.81, 57.86, -56.62)
CIE-LCHlch(50.81, 80.95, 315.62°)
OKLaboklab(60.1% 0.1336 -0.1597)
OKLCHoklch(60.1% 0.208 309.9)
XYZxyz(31.4520, 19.1069, 69.0352)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A651DB #86DB51
analogous
#6151DB #A651DB #DB51CB
triadic
#A651DB #DBA651 #51DBA6
tetradic
#A651DB #DB6151 #86DB51 #51CBDB
square
#A651DB #DB6151 #86DB51 #51CBDB
split-complementary
#A651DB #CBDB51 #51DB61
monochromatic
#661E93 #8A29C6 #A651DB #C084E5 #DAB6F0

Accessibility & contrast

On white

4.36
#A651DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#A651DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A651DB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A651DB#FFFFFF#000000##000000
##A651DB1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#3F7AD8
Tritanopia (blue-blind)
#9F6C8F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a651db;
/* rgb */ color: rgb(166, 81, 219);
/* oklch */ color: oklch(60.1% 0.208 309.9);
Tailwind
colors: {
  custom: {
    50: '#c487e7',
    500: '#a651db',
    950: '#000000',
  },
}
SCSS
$custom: #a651db;
$custom-light: #c487e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a651db",
  "rgb": {
    "r": 166,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 276.957,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60102,
    "c": 0.20826,
    "h": 309.9
  },
  "luminance": 0.19106
}

Semantic roles & 50–950 ramp

primary
#A651DB
secondary
#BEDFA9
accent
#E93F80
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A651DB

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

Preview Lab → · Contrast checker → · Palette generator →

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