#A751E1#A751E1

#A751E1 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.6% C 0.215 H 308.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#A751E1
RGBrgb(167, 81, 225)
HSLhsl(276, 71%, 60%)
HSVhsv(276, 64%, 88%)
CMYKcmyk(25.8%, 64%, 0%, 11.8%)
CIE-LABlab(51.31, 59.39, -59.22)
CIE-LCHlch(51.31, 83.87, 315.08°)
OKLaboklab(60.61% 0.1346 -0.1673)
OKLCHoklch(60.61% 0.215 308.8)
XYZxyz(32.4667, 19.5371, 73.2803)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751E1 #8BE151
analogous
#5F51E1 #A751E1 #E151D3
triadic
#A751E1 #E1A751 #51E1A7
tetradic
#A751E1 #E15F51 #8BE151 #51D3E1
square
#A751E1 #E15F51 #8BE151 #51D3E1
split-complementary
#A751E1 #D3E151 #51E15F
monochromatic
#681B9D #8B24D1 #A751E1 #C185EA #DCB9F3

Accessibility & contrast

On white

4.28
#A751E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#A751E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A751E1
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751E1#FFFFFF#000000##000000
##A751E11.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E5
Deuteranopia (green-blind)
#397BDE
Tritanopia (blue-blind)
#9E6E92
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a751e1;
/* rgb */ color: rgb(167, 81, 225);
/* oklch */ color: oklch(60.6% 0.215 308.8);
Tailwind
colors: {
  custom: {
    50: '#c587eb',
    500: '#a751e1',
    950: '#000000',
  },
}
SCSS
$custom: #a751e1;
$custom-light: #c587eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a751e1",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 225
  },
  "hsl": {
    "h": 275.833,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.60607,
    "c": 0.21473,
    "h": 308.8
  },
  "luminance": 0.19537
}

Semantic roles & 50–950 ramp

primary
#A751E1
secondary
#C2E3AB
accent
#ED3A83
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A751E1

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

Preview Lab → · Contrast checker → · Palette generator →

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