#A751BE#A751BE

#A751BE is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.5% C 0.179 H 318.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#A751BE
RGBrgb(167, 81, 190)
HSLhsl(287, 46%, 53%)
HSVhsv(287, 57%, 75%)
CMYKcmyk(12.1%, 57.4%, 0%, 25.5%)
CIE-LABlab(49.28, 52.01, -42.43)
CIE-LCHlch(49.28, 67.12, 320.79°)
OKLaboklab(58.48% 0.1347 -0.1182)
OKLCHoklch(58.48% 0.179 318.7)
XYZxyz(28.1718, 17.8192, 50.6607)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751BE #68BE51
analogous
#7051BE #A751BE #BE519F
triadic
#A751BE #BEA751 #51BEA7
tetradic
#A751BE #BE7051 #68BE51 #519FBE
square
#A751BE #BE7051 #68BE51 #519FBE
split-complementary
#A751BE #9FBE51 #51BE70
monochromatic
#5E286C #853999 #A751BE #BE7ECF #D4AADF

Accessibility & contrast

On white

4.60
#A751BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#A751BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A751BE
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751BE#FFFFFF#000000##FFFFFF
##A751BE1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386FC1
Deuteranopia (green-blind)
#5778BB
Tritanopia (blue-blind)
#A76280
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a751be;
/* rgb */ color: rgb(167, 81, 190);
/* oklch */ color: oklch(58.5% 0.179 318.7);
Tailwind
colors: {
  custom: {
    50: '#c486d2',
    500: '#a751be',
    950: '#000000',
  },
}
SCSS
$custom: #a751be;
$custom-light: #c486d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a751be",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 190
  },
  "hsl": {
    "h": 287.339,
    "s": 45.607,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58476,
    "c": 0.17918,
    "h": 318.7
  },
  "luminance": 0.17818
}

Semantic roles & 50–950 ramp

primary
#A751BE
secondary
#A8CD9E
accent
#D5536E
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A751BE

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

Preview Lab → · Contrast checker → · Palette generator →

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