#A251E8#A251E8

#A251E8 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.5% C 0.221 H 305.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#A251E8
RGBrgb(162, 81, 232)
HSLhsl(272, 77%, 61%)
HSVhsv(272, 65%, 91%)
CMYKcmyk(30.2%, 65.1%, 0%, 9%)
CIE-LABlab(51.14, 59.88, -63.47)
CIE-LCHlch(51.14, 87.26, 313.34°)
OKLaboklab(60.5% 0.1277 -0.1799)
OKLCHoklch(60.5% 0.221 305.4)
XYZxyz(32.4050, 19.3927, 78.3643)
Luminance0.1939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A251E8 #97E851
analogous
#5751E8 #A251E8 #E851E3
triadic
#A251E8 #E8A251 #51E8A2
tetradic
#A251E8 #E85751 #97E851 #51E3E8
square
#A251E8 #E85751 #97E851 #51E3E8
split-complementary
#A251E8 #E3E851 #51E857
monochromatic
#6516A8 #851DDE #A251E8 #BF87EF #DCBDF6

Accessibility & contrast

On white

4.30
#A251E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#A251E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A251E8
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A251E8#FFFFFF#000000##000000
##A251E81.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077ED
Deuteranopia (green-blind)
#267AE5
Tritanopia (blue-blind)
#967296
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a251e8;
/* rgb */ color: rgb(162, 81, 232);
/* oklch */ color: oklch(60.5% 0.221 305.4);
Tailwind
colors: {
  custom: {
    50: '#c287f0',
    500: '#a251e8',
    950: '#000000',
  },
}
SCSS
$custom: #a251e8;
$custom-light: #c287f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a251e8",
  "rgb": {
    "r": 162,
    "g": 81,
    "b": 232
  },
  "hsl": {
    "h": 272.185,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60497,
    "c": 0.22064,
    "h": 305.4
  },
  "luminance": 0.19392
}

Semantic roles & 50–950 ramp

primary
#A251E8
secondary
#C8E7AE
accent
#D90D6B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A251E8

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

Preview Lab → · Contrast checker → · Palette generator →

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