#9B7AFA#9B7AFA

#9B7AFA is a light, vivid violet. Relative luminance 0.278; OKLCH L 66.9% C 0.184 H 292.6°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#9B7AFA
RGBrgb(155, 122, 250)
HSLhsl(255, 93%, 73%)
HSVhsv(255, 51%, 98%)
CMYKcmyk(38%, 51.2%, 0%, 2%)
CIE-LABlab(59.70, 41.18, -59.79)
CIE-LCHlch(59.70, 72.60, 304.56°)
OKLaboklab(66.95% 0.0706 -0.1694)
OKLCHoklch(66.95% 0.184 292.6)
XYZxyz(37.7278, 27.7888, 93.8000)
Luminance0.2779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B7AFA #D9FA7A
analogous
#7A99FA #9B7AFA #DB7AFA
triadic
#9B7AFA #FA9B7A #7AFA9B
tetradic
#9B7AFA #FA7A99 #D9FA7A #7AFADB
square
#9B7AFA #FA7A99 #D9FA7A #7AFADB
split-complementary
#9B7AFA #FADB7A #99FA7A
monochromatic
#4509F1 #6F3FF8 #9B7AFA #C7B5FC #E9E2FE

Accessibility & contrast

On white

3.20
#9B7AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#9B7AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B7AFA
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B7AFA#FFFFFF#000000##000000
##9B7AFA1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4592FE
Deuteranopia (green-blind)
#4B8DF7
Tritanopia (blue-blind)
#8394AF
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9b7afa;
/* rgb */ color: rgb(155, 122, 250);
/* oklch */ color: oklch(66.9% 0.184 292.6);
Tailwind
colors: {
  custom: {
    50: '#bda1fd',
    500: '#9b7afa',
    950: '#000000',
  },
}
SCSS
$custom: #9b7afa;
$custom-light: #bda1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b7afa",
  "rgb": {
    "r": 155,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 255.469,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.66948,
    "c": 0.18354,
    "h": 292.6
  },
  "luminance": 0.2779
}

Semantic roles & 50–950 ramp

primary
#9B7AFA
secondary
#EEF6D5
accent
#E600AA
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120F18
muted
#817E86

Preview Lab

Preview with #9B7AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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