#A751E4#A751E4

#A751E4 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.8% C 0.218 H 308.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#A751E4
RGBrgb(167, 81, 228)
HSLhsl(275, 73%, 61%)
HSVhsv(275, 64%, 89%)
CMYKcmyk(26.8%, 64.5%, 0%, 10.6%)
CIE-LABlab(51.50, 60.05, -60.61)
CIE-LCHlch(51.50, 85.32, 314.73°)
OKLaboklab(60.8% 0.1344 -0.1714)
OKLCHoklch(60.8% 0.218 308.1)
XYZxyz(32.8795, 19.7023, 75.4546)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751E4 #8EE451
analogous
#5D51E4 #A751E4 #E451D7
triadic
#A751E4 #E4A751 #51E4A7
tetradic
#A751E4 #E45D51 #8EE451 #51D7E4
square
#A751E4 #E45D51 #8EE451 #51D7E4
split-complementary
#A751E4 #D7E451 #51E45D
monochromatic
#6919A2 #8B21D7 #A751E4 #C286EC #DDBBF4

Accessibility & contrast

On white

4.25
#A751E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#A751E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A751E4
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751E4#FFFFFF#000000##000000
##A751E41.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E8
Deuteranopia (green-blind)
#357CE1
Tritanopia (blue-blind)
#9E7094
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a751e4;
/* rgb */ color: rgb(167, 81, 228);
/* oklch */ color: oklch(60.8% 0.218 308.1);
Tailwind
colors: {
  custom: {
    50: '#c587ed',
    500: '#a751e4',
    950: '#000000',
  },
}
SCSS
$custom: #a751e4;
$custom-light: #c587ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a751e4",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 228
  },
  "hsl": {
    "h": 275.102,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60803,
    "c": 0.2178,
    "h": 308.1
  },
  "luminance": 0.19702
}

Semantic roles & 50–950 ramp

primary
#A751E4
secondary
#C4E4AC
accent
#D51062
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A751E4

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

Preview Lab → · Contrast checker → · Palette generator →

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