#A751E6#A751E6

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

Color values

HEX#A751E6
RGBrgb(167, 81, 230)
HSLhsl(275, 75%, 61%)
HSVhsv(275, 65%, 90%)
CMYKcmyk(27.4%, 64.8%, 0%, 9.8%)
CIE-LABlab(51.63, 60.49, -61.53)
CIE-LCHlch(51.63, 86.29, 314.51°)
OKLaboklab(60.94% 0.1343 -0.1741)
OKLCHoklch(60.94% 0.22 307.6)
XYZxyz(33.1587, 19.8140, 76.9252)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751E6 #90E651
analogous
#5C51E6 #A751E6 #E651DA
triadic
#A751E6 #E6A751 #51E6A7
tetradic
#A751E6 #E65C51 #90E651 #51DAE6
square
#A751E6 #E65C51 #90E651 #51DAE6
split-complementary
#A751E6 #DAE651 #51E65C
monochromatic
#6918A5 #8B1FDA #A751E6 #C287EE #DDBCF5

Accessibility & contrast

On white

4.23
#A751E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#A751E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A751E6
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751E6#FFFFFF#000000##000000
##A751E61.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EB
Deuteranopia (green-blind)
#327CE3
Tritanopia (blue-blind)
#9D7095
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a751e6;
/* rgb */ color: rgb(167, 81, 230);
/* oklch */ color: oklch(60.9% 0.220 307.6);
Tailwind
colors: {
  custom: {
    50: '#c587ef',
    500: '#a751e6',
    950: '#000000',
  },
}
SCSS
$custom: #a751e6;
$custom-light: #c587ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a751e6",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 230
  },
  "hsl": {
    "h": 274.631,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60936,
    "c": 0.21985,
    "h": 307.6
  },
  "luminance": 0.19814
}

Semantic roles & 50–950 ramp

primary
#A751E6
secondary
#C5E5AD
accent
#D70E63
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A751E6

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

Preview Lab → · Contrast checker → · Palette generator →

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