#9F5ADA#9F5ADA

#9F5ADA is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.4% C 0.192 H 306.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#9F5ADA
RGBrgb(159, 90, 218)
HSLhsl(272, 63%, 60%)
HSVhsv(272, 59%, 85%)
CMYKcmyk(27.1%, 58.7%, 0%, 14.5%)
CIE-LABlab(51.55, 51.56, -54.92)
CIE-LCHlch(51.55, 75.33, 313.19°)
OKLaboklab(60.43% 0.114 -0.155)
OKLCHoklch(60.43% 0.192 306.3)
XYZxyz(30.6065, 19.7455, 68.5150)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F5ADA #95DA5A
analogous
#5F5ADA #9F5ADA #DA5AD5
triadic
#9F5ADA #DA9F5A #5ADA9F
tetradic
#9F5ADA #DA5F5A #95DA5A #5AD5DA
square
#9F5ADA #DA5F5A #95DA5A #5AD5DA
split-complementary
#9F5ADA #D5DA5A #5ADA5F
monochromatic
#612298 #822DCA #9F5ADA #BC8CE5 #D9BEF0

Accessibility & contrast

On white

4.24
#9F5ADA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#9F5ADA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F5ADA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F5ADA#FFFFFF#000000##000000
##9F5ADA1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2379DE
Deuteranopia (green-blind)
#437BD7
Tritanopia (blue-blind)
#957392
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9f5ada;
/* rgb */ color: rgb(159, 90, 218);
/* oklch */ color: oklch(60.4% 0.192 306.3);
Tailwind
colors: {
  custom: {
    50: '#bf8ce6',
    500: '#9f5ada',
    950: '#000000',
  },
}
SCSS
$custom: #9f5ada;
$custom-light: #bf8ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f5ada",
  "rgb": {
    "r": 159,
    "g": 90,
    "b": 218
  },
  "hsl": {
    "h": 272.344,
    "s": 63.366,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60432,
    "c": 0.19242,
    "h": 306.3
  },
  "luminance": 0.19745
}

Semantic roles & 50–950 ramp

primary
#9F5ADA
secondary
#C6E0AF
accent
#CB1A6C
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9F5ADA

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

Preview Lab → · Contrast checker → · Palette generator →

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