#A951DB#A951DB

#A951DB is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.5% C 0.209 H 311.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#A951DB
RGBrgb(169, 81, 219)
HSLhsl(278, 66%, 59%)
HSVhsv(278, 63%, 86%)
CMYKcmyk(22.8%, 63%, 0%, 14.1%)
CIE-LABlab(51.19, 58.53, -55.99)
CIE-LCHlch(51.19, 81.00, 316.27°)
OKLaboklab(60.46% 0.1374 -0.1578)
OKLCHoklch(60.46% 0.209 311.1)
XYZxyz(32.0884, 19.4351, 69.0651)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A951DB #83DB51
analogous
#6451DB #A951DB #DB51C8
triadic
#A951DB #DBA951 #51DBA9
tetradic
#A951DB #DB6451 #83DB51 #51C8DB
square
#A951DB #DB6451 #83DB51 #51C8DB
split-complementary
#A951DB #C8DB51 #51DB64
monochromatic
#691E93 #8D29C6 #A951DB #C284E5 #DBB6F0

Accessibility & contrast

On white

4.30
#A951DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#A951DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A951DB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A951DB#FFFFFF#000000##000000
##A951DB1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0676DF
Deuteranopia (green-blind)
#427CD8
Tritanopia (blue-blind)
#A36C8F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a951db;
/* rgb */ color: rgb(169, 81, 219);
/* oklch */ color: oklch(60.5% 0.209 311.1);
Tailwind
colors: {
  custom: {
    50: '#c687e7',
    500: '#a951db',
    950: '#000000',
  },
}
SCSS
$custom: #a951db;
$custom-light: #c687e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a951db",
  "rgb": {
    "r": 169,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 278.261,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60458,
    "c": 0.20923,
    "h": 311.1
  },
  "luminance": 0.19434
}

Semantic roles & 50–950 ramp

primary
#A951DB
secondary
#BCDFA9
accent
#E93F7D
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A951DB

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

Preview Lab → · Contrast checker → · Palette generator →

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