#A751E9#A751E9

#A751E9 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 61.1% C 0.223 H 307.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#A751E9
RGBrgb(167, 81, 233)
HSLhsl(274, 78%, 62%)
HSVhsv(274, 65%, 91%)
CMYKcmyk(28.3%, 65.2%, 0%, 8.6%)
CIE-LABlab(51.82, 61.16, -62.91)
CIE-LCHlch(51.82, 87.74, 314.19°)
OKLaboklab(61.14% 0.134 -0.1781)
OKLCHoklch(61.14% 0.223 307)
XYZxyz(33.5837, 19.9839, 79.1631)
Luminance0.1998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751E9 #93E951
analogous
#5B51E9 #A751E9 #E951DF
triadic
#A751E9 #E9A751 #51E9A7
tetradic
#A751E9 #E95B51 #93E951 #51DFE9
square
#A751E9 #E95B51 #93E951 #51DFE9
split-complementary
#A751E9 #DFE951 #51E95B
monochromatic
#6A16AA #8B1CE0 #A751E9 #C287F0 #DEBEF7

Accessibility & contrast

On white

4.20
#A751E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#A751E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A751E9
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751E9#FFFFFF#000000##000000
##A751E91.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EE
Deuteranopia (green-blind)
#2E7CE6
Tritanopia (blue-blind)
#9C7196
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a751e9;
/* rgb */ color: rgb(167, 81, 233);
/* oklch */ color: oklch(61.1% 0.223 307.0);
Tailwind
colors: {
  custom: {
    50: '#c687f1',
    500: '#a751e9',
    950: '#000000',
  },
}
SCSS
$custom: #a751e9;
$custom-light: #c687f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a751e9",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 233
  },
  "hsl": {
    "h": 273.947,
    "s": 77.551,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61136,
    "c": 0.22293,
    "h": 307
  },
  "luminance": 0.19984
}

Semantic roles & 50–950 ramp

primary
#A751E9
secondary
#C7E7AF
accent
#DA0C65
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A751E9

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

Preview Lab → · Contrast checker → · Palette generator →

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