#A751E3#A751E3

#A751E3 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.7% C 0.217 H 308.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#A751E3
RGBrgb(167, 81, 227)
HSLhsl(275, 72%, 60%)
HSVhsv(275, 64%, 89%)
CMYKcmyk(26.4%, 64.3%, 0%, 11%)
CIE-LABlab(51.44, 59.83, -60.15)
CIE-LCHlch(51.44, 84.84, 314.85°)
OKLaboklab(60.74% 0.1345 -0.17)
OKLCHoklch(60.74% 0.217 308.3)
XYZxyz(32.7411, 19.6469, 74.7256)
Luminance0.1965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751E3 #8DE351
analogous
#5E51E3 #A751E3 #E351D6
triadic
#A751E3 #E3A751 #51E3A7
tetradic
#A751E3 #E35E51 #8DE351 #51D6E3
square
#A751E3 #E35E51 #8DE351 #51D6E3
split-complementary
#A751E3 #D6E351 #51E35E
monochromatic
#691AA0 #8B22D5 #A751E3 #C286EB #DCBAF4

Accessibility & contrast

On white

4.26
#A751E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#A751E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A751E3
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751E3#FFFFFF#000000##000000
##A751E31.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E7
Deuteranopia (green-blind)
#377CE0
Tritanopia (blue-blind)
#9E6F93
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a751e3;
/* rgb */ color: rgb(167, 81, 227);
/* oklch */ color: oklch(60.7% 0.217 308.3);
Tailwind
colors: {
  custom: {
    50: '#c587ed',
    500: '#a751e3',
    950: '#000000',
  },
}
SCSS
$custom: #a751e3;
$custom-light: #c587ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a751e3",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 227
  },
  "hsl": {
    "h": 275.342,
    "s": 72.277,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60738,
    "c": 0.21678,
    "h": 308.3
  },
  "luminance": 0.19646
}

Semantic roles & 50–950 ramp

primary
#A751E3
secondary
#C3E4AC
accent
#D41161
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A751E3

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

Preview Lab → · Contrast checker → · Palette generator →

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