#9D7AFA#9D7AFA

#9D7AFA is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.1% C 0.184 H 293.4°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#9D7AFA
RGBrgb(157, 122, 250)
HSLhsl(256, 93%, 73%)
HSVhsv(256, 51%, 98%)
CMYKcmyk(37.2%, 51.2%, 0%, 2%)
CIE-LABlab(59.88, 41.65, -59.49)
CIE-LCHlch(59.88, 72.62, 305.00°)
OKLaboklab(67.13% 0.073 -0.1685)
OKLCHoklch(67.13% 0.184 293.4)
XYZxyz(38.1149, 27.9884, 93.8181)
Luminance0.2799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D7AFA #D7FA7A
analogous
#7A97FA #9D7AFA #DD7AFA
triadic
#9D7AFA #FA9D7A #7AFA9D
tetradic
#9D7AFA #FA7A97 #D7FA7A #7AFADD
square
#9D7AFA #FA7A97 #D7FA7A #7AFADD
split-complementary
#9D7AFA #FADD7A #97FA7A
monochromatic
#4809F1 #723FF8 #9D7AFA #C8B5FC #E9E2FE

Accessibility & contrast

On white

3.18
#9D7AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#9D7AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D7AFA
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D7AFA#FFFFFF#000000##000000
##9D7AFA1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d7afa;
/* rgb */ color: rgb(157, 122, 250);
/* oklch */ color: oklch(67.1% 0.184 293.4);
Tailwind
colors: {
  custom: {
    50: '#bea1fd',
    500: '#9d7afa',
    950: '#000000',
  },
}
SCSS
$custom: #9d7afa;
$custom-light: #bea1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d7afa",
  "rgb": {
    "r": 157,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 256.406,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67125,
    "c": 0.18363,
    "h": 293.4
  },
  "luminance": 0.27989
}

Semantic roles & 50–950 ramp

primary
#9D7AFA
secondary
#EDF6D5
accent
#E600A7
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F18
muted
#827F86

Preview Lab

Preview with #9D7AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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