#A950E7#A950E7

#A950E7 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 61.1% C 0.223 H 308.2°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#A950E7
RGBrgb(169, 80, 231)
HSLhsl(275, 76%, 61%)
HSVhsv(275, 65%, 91%)
CMYKcmyk(26.8%, 65.4%, 0%, 9.4%)
CIE-LABlab(51.77, 61.60, -61.85)
CIE-LCHlch(51.77, 87.29, 314.88°)
OKLaboklab(61.11% 0.1378 -0.175)
OKLCHoklch(61.11% 0.223 308.2)
XYZxyz(33.6517, 19.9424, 77.6623)
Luminance0.1994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A950E7 #8EE750
analogous
#5D50E7 #A950E7 #E750D9
triadic
#A950E7 #E7A950 #50E7A9
tetradic
#A950E7 #E75D50 #8EE750 #50D9E7
square
#A950E7 #E75D50 #8EE750 #50D9E7
split-complementary
#A950E7 #D9E750 #50E75D
monochromatic
#6B17A6 #8E1EDC #A950E7 #C386EE #DEBCF6

Accessibility & contrast

On white

4.21
#A950E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#A950E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A950E7
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A950E7#FFFFFF#000000##000000
##A950E71.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#337CE4
Tritanopia (blue-blind)
#A07095
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a950e7;
/* rgb */ color: rgb(169, 80, 231);
/* oklch */ color: oklch(61.1% 0.223 308.2);
Tailwind
colors: {
  custom: {
    50: '#c787ef',
    500: '#a950e7',
    950: '#000000',
  },
}
SCSS
$custom: #a950e7;
$custom-light: #c787ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a950e7",
  "rgb": {
    "r": 169,
    "g": 80,
    "b": 231
  },
  "hsl": {
    "h": 275.364,
    "s": 75.879,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61115,
    "c": 0.22272,
    "h": 308.2
  },
  "luminance": 0.19942
}

Semantic roles & 50–950 ramp

primary
#A950E7
secondary
#C4E6AD
accent
#D80D61
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #A950E7

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

Preview Lab → · Contrast checker → · Palette generator →

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