#A751D5#A751D5

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

Color values

HEX#A751D5
RGBrgb(167, 81, 213)
HSLhsl(279, 61%, 58%)
HSVhsv(279, 62%, 84%)
CMYKcmyk(21.6%, 62%, 0%, 16.5%)
CIE-LABlab(50.58, 56.79, -53.58)
CIE-LCHlch(50.58, 78.08, 316.66°)
OKLaboklab(59.84% 0.1351 -0.1508)
OKLCHoklch(59.84% 0.202 311.9)
XYZxyz(30.8868, 18.9052, 64.9599)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751D5 #7FD551
analogous
#6551D5 #A751D5 #D551C1
triadic
#A751D5 #D5A751 #51D5A7
tetradic
#A751D5 #D56551 #7FD551 #51C1D5
square
#A751D5 #D56551 #7FD551 #51C1D5
split-complementary
#A751D5 #C1D551 #51D565
monochromatic
#66218A #8A2DBC #A751D5 #C082E1 #D9B4ED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A751D5#FFFFFF#000000##000000
##A751D51.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)
#1874D9
Deuteranopia (green-blind)
#467AD2
Tritanopia (blue-blind)
#A26A8C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a751d5;
/* rgb */ color: rgb(167, 81, 213);
/* oklch */ color: oklch(59.8% 0.202 311.9);
Tailwind
colors: {
  custom: {
    50: '#c587e2',
    500: '#a751d5',
    950: '#000000',
  },
}
SCSS
$custom: #a751d5;
$custom-light: #c587e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a751d5",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 213
  },
  "hsl": {
    "h": 279.091,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59842,
    "c": 0.20244,
    "h": 311.9
  },
  "luminance": 0.18904
}

Semantic roles & 50–950 ramp

primary
#A751D5
secondary
#B9DBA6
accent
#E4447C
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A751D5

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

Preview Lab → · Contrast checker → · Palette generator →

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