#A851E5#A851E5

#A851E5 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 61.0% C 0.219 H 308.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#A851E5
RGBrgb(168, 81, 229)
HSLhsl(275, 74%, 61%)
HSVhsv(275, 65%, 90%)
CMYKcmyk(26.6%, 64.6%, 0%, 10.2%)
CIE-LABlab(51.69, 60.49, -60.86)
CIE-LCHlch(51.69, 85.81, 314.82°)
OKLaboklab(60.99% 0.1356 -0.1721)
OKLCHoklch(60.99% 0.219 308.2)
XYZxyz(33.2309, 19.8673, 76.1977)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A851E5 #8EE551
analogous
#5E51E5 #A851E5 #E551D8
triadic
#A851E5 #E5A851 #51E5A8
tetradic
#A851E5 #E55E51 #8EE551 #51D8E5
square
#A851E5 #E55E51 #8EE551 #51D8E5
split-complementary
#A851E5 #D8E551 #51E55E
monochromatic
#6A18A3 #8D20D8 #A851E5 #C386ED #DDBBF5

Accessibility & contrast

On white

4.22
#A851E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#A851E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A851E5
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A851E5#FFFFFF#000000##000000
##A851E51.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E9
Deuteranopia (green-blind)
#357CE2
Tritanopia (blue-blind)
#9F7094
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a851e5;
/* rgb */ color: rgb(168, 81, 229);
/* oklch */ color: oklch(61.0% 0.219 308.2);
Tailwind
colors: {
  custom: {
    50: '#c687ee',
    500: '#a851e5',
    950: '#000000',
  },
}
SCSS
$custom: #a851e5;
$custom-light: #c687ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a851e5",
  "rgb": {
    "r": 168,
    "g": 81,
    "b": 229
  },
  "hsl": {
    "h": 275.27,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60986,
    "c": 0.21911,
    "h": 308.2
  },
  "luminance": 0.19867
}

Semantic roles & 50–950 ramp

primary
#A851E5
secondary
#C4E5AD
accent
#D60F61
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A851E5

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

Preview Lab → · Contrast checker → · Palette generator →

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