#A751DB#A751DB

#A751DB is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.2% C 0.209 H 310.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#A751DB
RGBrgb(167, 81, 219)
HSLhsl(277, 66%, 59%)
HSVhsv(277, 63%, 86%)
CMYKcmyk(23.7%, 63%, 0%, 14.1%)
CIE-LABlab(50.94, 58.08, -56.41)
CIE-LCHlch(50.94, 80.97, 315.83°)
OKLaboklab(60.22% 0.1349 -0.1591)
OKLCHoklch(60.22% 0.209 310.3)
XYZxyz(31.6625, 19.2155, 69.0451)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751DB #85DB51
analogous
#6251DB #A751DB #DB51CA
triadic
#A751DB #DBA751 #51DBA7
tetradic
#A751DB #DB6251 #85DB51 #51CADB
square
#A751DB #DB6251 #85DB51 #51CADB
split-complementary
#A751DB #CADB51 #51DB62
monochromatic
#671E93 #8B29C6 #A751DB #C184E5 #DAB6F0

Accessibility & contrast

On white

4.34
#A751DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#A751DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A751DB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751DB#FFFFFF#000000##000000
##A751DB1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0175DF
Deuteranopia (green-blind)
#407BD8
Tritanopia (blue-blind)
#A06C8F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a751db;
/* rgb */ color: rgb(167, 81, 219);
/* oklch */ color: oklch(60.2% 0.209 310.3);
Tailwind
colors: {
  custom: {
    50: '#c587e7',
    500: '#a751db',
    950: '#000000',
  },
}
SCSS
$custom: #a751db;
$custom-light: #c587e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a751db",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 277.391,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.6022,
    "c": 0.20858,
    "h": 310.3
  },
  "luminance": 0.19215
}

Semantic roles & 50–950 ramp

primary
#A751DB
secondary
#BDDFA9
accent
#E93F7F
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A751DB

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

Preview Lab → · Contrast checker → · Palette generator →

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