#A051DB#A051DB

#A051DB is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.4% C 0.206 H 307.6°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#A051DB
RGBrgb(160, 81, 219)
HSLhsl(274, 66%, 59%)
HSVhsv(274, 63%, 86%)
CMYKcmyk(26.9%, 63%, 0%, 14.1%)
CIE-LABlab(50.07, 56.51, -57.86)
CIE-LCHlch(50.07, 80.88, 314.32°)
OKLaboklab(59.4% 0.126 -0.1635)
OKLCHoklch(59.4% 0.206 307.6)
XYZxyz(30.2232, 18.4733, 68.9776)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A051DB #8CDB51
analogous
#5B51DB #A051DB #DB51D1
triadic
#A051DB #DBA051 #51DBA0
tetradic
#A051DB #DB5B51 #8CDB51 #51D1DB
square
#A051DB #DB5B51 #8CDB51 #51D1DB
split-complementary
#A051DB #D1DB51 #51DB5B
monochromatic
#611E93 #8329C6 #A051DB #BC84E5 #D7B6F0

Accessibility & contrast

On white

4.47
#A051DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#A051DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A051DB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A051DB#FFFFFF#000000##000000
##A051DB1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#3778D8
Tritanopia (blue-blind)
#976D8F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a051db;
/* rgb */ color: rgb(160, 81, 219);
/* oklch */ color: oklch(59.4% 0.206 307.6);
Tailwind
colors: {
  custom: {
    50: '#c086e7',
    500: '#a051db',
    950: '#000000',
  },
}
SCSS
$custom: #a051db;
$custom-light: #c086e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a051db",
  "rgb": {
    "r": 160,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 274.348,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59401,
    "c": 0.20647,
    "h": 307.6
  },
  "luminance": 0.18473
}

Semantic roles & 50–950 ramp

primary
#A051DB
secondary
#C0DFA9
accent
#E93F88
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A051DB

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

Preview Lab → · Contrast checker → · Palette generator →

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