#A751E5#A751E5

#A751E5 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.9% C 0.219 H 307.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#A751E5
RGBrgb(167, 81, 229)
HSLhsl(275, 74%, 61%)
HSVhsv(275, 65%, 90%)
CMYKcmyk(27.1%, 64.6%, 0%, 10.2%)
CIE-LABlab(51.56, 60.27, -61.07)
CIE-LCHlch(51.56, 85.80, 314.62°)
OKLaboklab(60.87% 0.1343 -0.1727)
OKLCHoklch(60.87% 0.219 307.9)
XYZxyz(33.0187, 19.7580, 76.1878)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751E5 #8FE551
analogous
#5D51E5 #A751E5 #E551D9
triadic
#A751E5 #E5A751 #51E5A7
tetradic
#A751E5 #E55D51 #8FE551 #51D9E5
square
#A751E5 #E55D51 #8FE551 #51D9E5
split-complementary
#A751E5 #D9E551 #51E55D
monochromatic
#6918A3 #8B20D8 #A751E5 #C286ED #DDBBF5

Accessibility & contrast

On white

4.24
#A751E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#A751E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A751E5
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751E5#FFFFFF#000000##000000
##A751E51.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EA
Deuteranopia (green-blind)
#347CE2
Tritanopia (blue-blind)
#9D7094
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a751e5;
/* rgb */ color: rgb(167, 81, 229);
/* oklch */ color: oklch(60.9% 0.219 307.9);
Tailwind
colors: {
  custom: {
    50: '#c587ee',
    500: '#a751e5',
    950: '#000000',
  },
}
SCSS
$custom: #a751e5;
$custom-light: #c587ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a751e5",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 229
  },
  "hsl": {
    "h": 274.865,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60869,
    "c": 0.21883,
    "h": 307.9
  },
  "luminance": 0.19757
}

Semantic roles & 50–950 ramp

primary
#A751E5
secondary
#C4E5AD
accent
#D60F63
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A751E5

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

Preview Lab → · Contrast checker → · Palette generator →

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