#A751D8#A751D8

#A751D8 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.0% C 0.206 H 311.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#A751D8
RGBrgb(167, 81, 216)
HSLhsl(278, 63%, 58%)
HSVhsv(278, 63%, 85%)
CMYKcmyk(22.7%, 62.5%, 0%, 15.3%)
CIE-LABlab(50.76, 57.43, -55.00)
CIE-LCHlch(50.76, 79.52, 316.24°)
OKLaboklab(60.03% 0.135 -0.1549)
OKLCHoklch(60.03% 0.206 311.1)
XYZxyz(31.2711, 19.0589, 66.9838)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751D8 #82D851
analogous
#6351D8 #A751D8 #D851C5
triadic
#A751D8 #D8A751 #51D8A7
tetradic
#A751D8 #D86351 #82D851 #51C5D8
square
#A751D8 #D86351 #82D851 #51C5D8
split-complementary
#A751D8 #C5D851 #51D863
monochromatic
#66208F #8A2BC1 #A751D8 #C083E3 #DAB5EE

Accessibility & contrast

On white

4.36
#A751D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#A751D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A751D8
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751D8#FFFFFF#000000##000000
##A751D81.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F75DC
Deuteranopia (green-blind)
#437AD5
Tritanopia (blue-blind)
#A16B8D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a751d8;
/* rgb */ color: rgb(167, 81, 216);
/* oklch */ color: oklch(60.0% 0.206 311.1);
Tailwind
colors: {
  custom: {
    50: '#c587e5',
    500: '#a751d8',
    950: '#000000',
  },
}
SCSS
$custom: #a751d8;
$custom-light: #c587e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a751d8",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 216
  },
  "hsl": {
    "h": 278.222,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.6003,
    "c": 0.20551,
    "h": 311.1
  },
  "luminance": 0.19058
}

Semantic roles & 50–950 ramp

primary
#A751D8
secondary
#BBDDA8
accent
#E6417D
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A751D8

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

Preview Lab → · Contrast checker → · Palette generator →

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