#A850E5#A850E5

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

Color values

HEX#A850E5
RGBrgb(168, 80, 229)
HSLhsl(275, 74%, 61%)
HSVhsv(275, 65%, 90%)
CMYKcmyk(26.6%, 65.1%, 0%, 10.2%)
CIE-LABlab(51.52, 60.95, -61.13)
CIE-LCHlch(51.52, 86.33, 314.91°)
OKLaboklab(60.87% 0.1367 -0.1729)
OKLCHoklch(60.87% 0.22 308.3)
XYZxyz(33.1571, 19.7198, 76.1731)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A850E5 #8DE550
analogous
#5D50E5 #A850E5 #E550D8
triadic
#A850E5 #E5A850 #50E5A8
tetradic
#A850E5 #E55D50 #8DE550 #50D8E5
square
#A850E5 #E55D50 #8DE550 #50D8E5
split-complementary
#A850E5 #D8E550 #50E55D
monochromatic
#6A18A2 #8D20D8 #A850E5 #C285ED #DDBBF5

Accessibility & contrast

On white

4.25
#A850E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#A850E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A850E5
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A850E5#FFFFFF#000000##000000
##A850E51.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EA
Deuteranopia (green-blind)
#347CE2
Tritanopia (blue-blind)
#9F6F94
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a850e5;
/* rgb */ color: rgb(168, 80, 229);
/* oklch */ color: oklch(60.9% 0.220 308.3);
Tailwind
colors: {
  custom: {
    50: '#c687ee',
    500: '#a850e5',
    950: '#000000',
  },
}
SCSS
$custom: #a850e5;
$custom-light: #c687ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a850e5",
  "rgb": {
    "r": 168,
    "g": 80,
    "b": 229
  },
  "hsl": {
    "h": 275.436,
    "s": 74.129,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60865,
    "c": 0.22041,
    "h": 308.3
  },
  "luminance": 0.19719
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A850E5

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

Preview Lab → · Contrast checker → · Palette generator →

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