#A031DB#A031DB

#A031DB is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 56.0% C 0.244 H 310.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#A031DB
RGBrgb(160, 49, 219)
HSLhsl(279, 70%, 53%)
HSVhsv(279, 78%, 86%)
CMYKcmyk(26.9%, 77.6%, 0%, 14.1%)
CIE-LABlab(45.34, 69.80, -65.50)
CIE-LCHlch(45.34, 95.72, 316.82°)
OKLaboklab(56.03% 0.1576 -0.1858)
OKLCHoklch(56.03% 0.244 310.3)
XYZxyz(28.3792, 14.7853, 68.3630)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A031DB #6CDB31
analogous
#4B31DB #A031DB #DB31C1
triadic
#A031DB #DBA031 #31DBA0
tetradic
#A031DB #DB4B31 #6CDB31 #31C1DB
square
#A031DB #DB4B31 #6CDB31 #31C1DB
split-complementary
#A031DB #C1DB31 #31DB4B
monochromatic
#58167C #7E1FB0 #A031DB #B865E4 #D099ED

Accessibility & contrast

On white

5.31
#A031DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#A031DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A031DB
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A031DB#FFFFFF#000000##FFFFFF
##A031DB1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E0
Deuteranopia (green-blind)
#006DD8
Tritanopia (blue-blind)
#985B86
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a031db;
/* rgb */ color: rgb(160, 49, 219);
/* oklch */ color: oklch(56.0% 0.244 310.3);
Tailwind
colors: {
  custom: {
    50: '#c276e7',
    500: '#a031db',
    950: '#000000',
  },
}
SCSS
$custom: #a031db;
$custom-light: #c276e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a031db",
  "rgb": {
    "r": 160,
    "g": 49,
    "b": 219
  },
  "hsl": {
    "h": 279.176,
    "s": 70.248,
    "l": 52.549
  },
  "oklch": {
    "l": 0.56033,
    "c": 0.24361,
    "h": 310.3
  },
  "luminance": 0.14785
}

Semantic roles & 50–950 ramp

primary
#A031DB
secondary
#A9D98F
accent
#ED3B79
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130916
muted
#827B84

Preview Lab

Preview with #A031DB

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

Preview Lab → · Contrast checker → · Palette generator →

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