#A851E9#A851E9

#A851E9 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.3% C 0.223 H 307.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A851E9
RGBrgb(168, 81, 233)
HSLhsl(274, 78%, 62%)
HSVhsv(274, 65%, 91%)
CMYKcmyk(27.9%, 65.2%, 0%, 8.6%)
CIE-LABlab(51.94, 61.37, -62.70)
CIE-LCHlch(51.94, 87.74, 314.38°)
OKLaboklab(61.25% 0.1353 -0.1775)
OKLCHoklch(61.25% 0.223 307.3)
XYZxyz(33.7958, 20.0933, 79.1730)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A851E9 #92E951
analogous
#5C51E9 #A851E9 #E951DE
triadic
#A851E9 #E9A851 #51E9A8
tetradic
#A851E9 #E95C51 #92E951 #51DEE9
square
#A851E9 #E95C51 #92E951 #51DEE9
split-complementary
#A851E9 #DEE951 #51E95C
monochromatic
#6B16AA #8D1CE0 #A851E9 #C387F0 #DEBEF7

Accessibility & contrast

On white

4.18
#A851E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#A851E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A851E9
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A851E9#FFFFFF#000000##000000
##A851E91.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a851e9;
/* rgb */ color: rgb(168, 81, 233);
/* oklch */ color: oklch(61.3% 0.223 307.3);
Tailwind
colors: {
  custom: {
    50: '#c687f1',
    500: '#a851e9',
    950: '#000000',
  },
}
SCSS
$custom: #a851e9;
$custom-light: #c687f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a851e9",
  "rgb": {
    "r": 168,
    "g": 81,
    "b": 233
  },
  "hsl": {
    "h": 274.342,
    "s": 77.551,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61251,
    "c": 0.22319,
    "h": 307.3
  },
  "luminance": 0.20093
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A851E9

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

Preview Lab → · Contrast checker → · Palette generator →

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