#A850D7#A850D7

#A850D7 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 60.0% C 0.206 H 311.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#A850D7
RGBrgb(168, 80, 215)
HSLhsl(279, 63%, 58%)
HSVhsv(279, 63%, 84%)
CMYKcmyk(21.9%, 62.8%, 0%, 15.7%)
CIE-LABlab(50.65, 57.92, -54.59)
CIE-LCHlch(50.65, 79.59, 316.69°)
OKLaboklab(59.96% 0.1375 -0.1537)
OKLCHoklch(59.96% 0.206 311.8)
XYZxyz(31.2806, 18.9692, 66.2904)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A850D7 #7FD750
analogous
#6450D7 #A850D7 #D750C3
triadic
#A850D7 #D7A850 #50D7A8
tetradic
#A850D7 #D76450 #7FD750 #50C3D7
square
#A850D7 #D76450 #7FD750 #50C3D7
split-complementary
#A850D7 #C3D750 #50D764
monochromatic
#67208C #8B2BBE #A850D7 #C182E2 #DAB4EE

Accessibility & contrast

On white

4.38
#A850D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#A850D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A850D7
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A850D7#FFFFFF#000000##000000
##A850D71.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F74DB
Deuteranopia (green-blind)
#447AD4
Tritanopia (blue-blind)
#A36A8C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a850d7;
/* rgb */ color: rgb(168, 80, 215);
/* oklch */ color: oklch(60.0% 0.206 311.8);
Tailwind
colors: {
  custom: {
    50: '#c586e4',
    500: '#a850d7',
    950: '#000000',
  },
}
SCSS
$custom: #a850d7;
$custom-light: #c586e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a850d7",
  "rgb": {
    "r": 168,
    "g": 80,
    "b": 215
  },
  "hsl": {
    "h": 279.111,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59962,
    "c": 0.20621,
    "h": 311.8
  },
  "luminance": 0.18968
}

Semantic roles & 50–950 ramp

primary
#A850D7
secondary
#B9DCA6
accent
#E6427B
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A850D7

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

Preview Lab → · Contrast checker → · Palette generator →

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