#A751C8#A751C8

#A751C8 is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.1% C 0.189 H 315.6°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#A751C8
RGBrgb(167, 81, 200)
HSLhsl(283, 52%, 55%)
HSVhsv(283, 60%, 78%)
CMYKcmyk(16.5%, 59.5%, 0%, 21.6%)
CIE-LABlab(49.82, 54.05, -47.34)
CIE-LCHlch(49.82, 71.85, 318.79°)
OKLaboklab(59.05% 0.1351 -0.1325)
OKLCHoklch(59.05% 0.189 315.6)
XYZxyz(29.3025, 18.2715, 56.6156)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751C8 #72C851
analogous
#6B51C8 #A751C8 #C851AE
triadic
#A751C8 #C8A751 #51C8A7
tetradic
#A751C8 #C86B51 #72C851 #51AEC8
square
#A751C8 #C86B51 #72C851 #51AEC8
split-complementary
#A751C8 #AEC851 #51C86B
monochromatic
#622679 #8735A7 #A751C8 #BF80D7 #D6AEE5

Accessibility & contrast

On white

4.51
#A751C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#A751C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A751C8
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751C8#FFFFFF#000000##000000
##A751C81.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E71CC
Deuteranopia (green-blind)
#5079C5
Tritanopia (blue-blind)
#A56685
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a751c8;
/* rgb */ color: rgb(167, 81, 200);
/* oklch */ color: oklch(59.1% 0.189 315.6);
Tailwind
colors: {
  custom: {
    50: '#c486d9',
    500: '#a751c8',
    950: '#000000',
  },
}
SCSS
$custom: #a751c8;
$custom-light: #c486d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a751c8",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 200
  },
  "hsl": {
    "h": 283.361,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59053,
    "c": 0.18922,
    "h": 315.6
  },
  "luminance": 0.1827
}

Semantic roles & 50–950 ramp

primary
#A751C8
secondary
#AFD3A1
accent
#DB4C74
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B15
muted
#827C83

Preview Lab

Preview with #A751C8

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

Preview Lab → · Contrast checker → · Palette generator →

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