#9A50EF#9A50EF

#9A50EF is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 60.0% C 0.228 H 301.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9A50EF
RGBrgb(154, 80, 239)
HSLhsl(268, 83%, 63%)
HSVhsv(268, 67%, 94%)
CMYKcmyk(35.6%, 66.5%, 0%, 6.3%)
CIE-LABlab(50.50, 60.37, -68.49)
CIE-LCHlch(50.50, 91.30, 311.40°)
OKLaboklab(59.98% 0.1175 -0.195)
OKLCHoklch(59.98% 0.228 301.1)
XYZxyz(31.7713, 18.8392, 83.6071)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A50EF #A5EF50
analogous
#5055EF #9A50EF #EA50EF
triadic
#9A50EF #EF9A50 #50EF9A
tetradic
#9A50EF #EF5055 #A5EF50 #50EFEA
square
#9A50EF #EF5055 #A5EF50 #50EFEA
split-complementary
#9A50EF #EFEA50 #55EF50
monochromatic
#5D10B4 #7A18EA #9A50EF #BA88F4 #DBC0F9

Accessibility & contrast

On white

4.40
#9A50EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#9A50EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A50EF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A50EF#FFFFFF#000000##000000
##9A50EF1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F4
Deuteranopia (green-blind)
#0077EC
Tritanopia (blue-blind)
#887599
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9a50ef;
/* rgb */ color: rgb(154, 80, 239);
/* oklch */ color: oklch(60.0% 0.228 301.1);
Tailwind
colors: {
  custom: {
    50: '#be86f5',
    500: '#9a50ef',
    950: '#000000',
  },
}
SCSS
$custom: #9a50ef;
$custom-light: #be86f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9a50ef",
  "rgb": {
    "r": 154,
    "g": 80,
    "b": 239
  },
  "hsl": {
    "h": 267.925,
    "s": 83.246,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59975,
    "c": 0.22766,
    "h": 301.1
  },
  "luminance": 0.18839
}

Semantic roles & 50–950 ramp

primary
#9A50EF
secondary
#CFEAB0
accent
#E0067A
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #9A50EF

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

Preview Lab → · Contrast checker → · Palette generator →

#9A50EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva