#A850E7#A850E7

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

Color values

HEX#A850E7
RGBrgb(168, 80, 231)
HSLhsl(275, 76%, 61%)
HSVhsv(275, 65%, 91%)
CMYKcmyk(27.3%, 65.4%, 0%, 9.4%)
CIE-LABlab(51.65, 61.39, -62.06)
CIE-LCHlch(51.65, 87.29, 314.69°)
OKLaboklab(61% 0.1365 -0.1756)
OKLCHoklch(61% 0.222 307.9)
XYZxyz(33.4379, 19.8321, 77.6523)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A850E7 #8FE750
analogous
#5C50E7 #A850E7 #E750DA
triadic
#A850E7 #E7A850 #50E7A8
tetradic
#A850E7 #E75C50 #8FE750 #50DAE7
square
#A850E7 #E75C50 #8FE750 #50DAE7
split-complementary
#A850E7 #DAE750 #50E75C
monochromatic
#6A17A6 #8D1EDC #A850E7 #C386EE #DEBCF6

Accessibility & contrast

On white

4.23
#A850E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A850E7#FFFFFF#000000##000000
##A850E71.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#317CE4
Tritanopia (blue-blind)
#9E7095
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a850e7;
/* rgb */ color: rgb(168, 80, 231);
/* oklch */ color: oklch(61.0% 0.222 307.9);
Tailwind
colors: {
  custom: {
    50: '#c687ef',
    500: '#a850e7',
    950: '#000000',
  },
}
SCSS
$custom: #a850e7;
$custom-light: #c687ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a850e7",
  "rgb": {
    "r": 168,
    "g": 80,
    "b": 231
  },
  "hsl": {
    "h": 274.967,
    "s": 75.879,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60998,
    "c": 0.22244,
    "h": 307.9
  },
  "luminance": 0.19832
}

Semantic roles & 50–950 ramp

primary
#A850E7
secondary
#C5E6AD
accent
#D80D62
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A850E7

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

Preview Lab → · Contrast checker → · Palette generator →

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