#A850EB#A850EB

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

Color values

HEX#A850EB
RGBrgb(168, 80, 235)
HSLhsl(274, 79%, 62%)
HSVhsv(274, 66%, 92%)
CMYKcmyk(28.5%, 66%, 0%, 7.8%)
CIE-LABlab(51.91, 62.27, -63.89)
CIE-LCHlch(51.91, 89.22, 314.27°)
OKLaboklab(61.27% 0.1362 -0.181)
OKLCHoklch(61.27% 0.227 307)
XYZxyz(34.0093, 20.0607, 80.6616)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A850EB #93EB50
analogous
#5B50EB #A850EB #EB50E0
triadic
#A850EB #EBA850 #50EBA8
tetradic
#A850EB #EB5B50 #93EB50 #50E0EB
square
#A850EB #EB5B50 #93EB50 #50E0EB
split-complementary
#A850EB #E0EB50 #50EB5B
monochromatic
#6B14AD #8D1AE4 #A850EB #C387F1 #DFBEF8

Accessibility & contrast

On white

4.19
#A850EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#A850EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A850EB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A850EB#FFFFFF#000000##000000
##A850EB1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F0
Deuteranopia (green-blind)
#2A7CE8
Tritanopia (blue-blind)
#9D7197
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a850eb;
/* rgb */ color: rgb(168, 80, 235);
/* oklch */ color: oklch(61.3% 0.227 307.0);
Tailwind
colors: {
  custom: {
    50: '#c787f2',
    500: '#a850eb',
    950: '#000000',
  },
}
SCSS
$custom: #a850eb;
$custom-light: #c787f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a850eb",
  "rgb": {
    "r": 168,
    "g": 80,
    "b": 235
  },
  "hsl": {
    "h": 274.065,
    "s": 79.487,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61266,
    "c": 0.22651,
    "h": 307
  },
  "luminance": 0.2006
}

Semantic roles & 50–950 ramp

primary
#A850EB
secondary
#C8E8AF
accent
#DC0A65
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #A850EB

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

Preview Lab → · Contrast checker → · Palette generator →

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