#A451DB#A451DB

#A451DB is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.9% C 0.208 H 309.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#A451DB
RGBrgb(164, 81, 219)
HSLhsl(276, 66%, 59%)
HSVhsv(276, 63%, 86%)
CMYKcmyk(25.1%, 63%, 0%, 14.1%)
CIE-LABlab(50.56, 57.41, -57.04)
CIE-LCHlch(50.56, 80.93, 315.18°)
OKLaboklab(59.87% 0.1311 -0.161)
OKLCHoklch(59.87% 0.208 309.2)
XYZxyz(31.0359, 18.8924, 69.0157)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A451DB #88DB51
analogous
#5F51DB #A451DB #DB51CD
triadic
#A451DB #DBA451 #51DBA4
tetradic
#A451DB #DB5F51 #88DB51 #51CDDB
square
#A451DB #DB5F51 #88DB51 #51CDDB
split-complementary
#A451DB #CDDB51 #51DB5F
monochromatic
#651E93 #8729C6 #A451DB #BF84E5 #D9B6F0

Accessibility & contrast

On white

4.39
#A451DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#A451DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A451DB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A451DB#FFFFFF#000000##000000
##A451DB1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#3C79D8
Tritanopia (blue-blind)
#9C6D8F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a451db;
/* rgb */ color: rgb(164, 81, 219);
/* oklch */ color: oklch(59.9% 0.208 309.2);
Tailwind
colors: {
  custom: {
    50: '#c387e7',
    500: '#a451db',
    950: '#000000',
  },
}
SCSS
$custom: #a451db;
$custom-light: #c387e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a451db",
  "rgb": {
    "r": 164,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 276.087,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59866,
    "c": 0.20764,
    "h": 309.2
  },
  "luminance": 0.18892
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A451DB

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

Preview Lab → · Contrast checker → · Palette generator →

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