#A950E2#A950E2

#A950E2 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.8% C 0.218 H 309.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#A950E2
RGBrgb(169, 80, 226)
HSLhsl(277, 72%, 60%)
HSVhsv(277, 65%, 89%)
CMYKcmyk(25.2%, 64.6%, 0%, 11.4%)
CIE-LABlab(51.46, 60.51, -59.54)
CIE-LCHlch(51.46, 84.89, 315.46°)
OKLaboklab(60.79% 0.1382 -0.1682)
OKLCHoklch(60.79% 0.218 309.4)
XYZxyz(32.9556, 19.6639, 73.9962)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A950E2 #89E250
analogous
#6050E2 #A950E2 #E250D2
triadic
#A950E2 #E2A950 #50E2A9
tetradic
#A950E2 #E26050 #89E250 #50D2E2
square
#A950E2 #E26050 #89E250 #50D2E2
split-complementary
#A950E2 #D2E250 #50E260
monochromatic
#6A1A9E #8E23D2 #A950E2 #C384EB #DDB9F3

Accessibility & contrast

On white

4.26
#A950E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#A950E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A950E2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A950E2#FFFFFF#000000##000000
##A950E21.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#397CDF
Tritanopia (blue-blind)
#A16E92
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a950e2;
/* rgb */ color: rgb(169, 80, 226);
/* oklch */ color: oklch(60.8% 0.218 309.4);
Tailwind
colors: {
  custom: {
    50: '#c787ec',
    500: '#a950e2',
    950: '#000000',
  },
}
SCSS
$custom: #a950e2;
$custom-light: #c787ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a950e2",
  "rgb": {
    "r": 169,
    "g": 80,
    "b": 226
  },
  "hsl": {
    "h": 276.575,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.60786,
    "c": 0.21767,
    "h": 309.4
  },
  "luminance": 0.19663
}

Semantic roles & 50–950 ramp

primary
#A950E2
secondary
#C1E3AB
accent
#EE3980
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A950E2

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

Preview Lab → · Contrast checker → · Palette generator →

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