#9F7BEA#9F7BEA

#9F7BEA is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.5% C 0.162 H 296.7°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#9F7BEA
RGBrgb(159, 123, 234)
HSLhsl(259, 73%, 70%)
HSVhsv(259, 47%, 92%)
CMYKcmyk(32.1%, 47.4%, 0%, 8.2%)
CIE-LABlab(59.41, 37.47, -51.36)
CIE-LCHlch(59.41, 63.58, 306.11°)
OKLaboklab(66.54% 0.0728 -0.1446)
OKLCHoklch(66.54% 0.162 296.7)
XYZxyz(36.2287, 27.4769, 81.2208)
Luminance0.2748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F7BEA #C6EA7B
analogous
#7B8FEA #9F7BEA #D67BEA
triadic
#9F7BEA #EA9F7B #7BEA9F
tetradic
#9F7BEA #EA7B8F #C6EA7B #7BEAD6
square
#9F7BEA #EA7B8F #C6EA7B #7BEAD6
split-complementary
#9F7BEA #EAD67B #8FEA7B
monochromatic
#5720CA #7946E2 #9F7BEA #C5B0F2 #ECE5FB

Accessibility & contrast

On white

3.23
#9F7BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#9F7BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F7BEA
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F7BEA#FFFFFF#000000##000000
##9F7BEA1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5690EE
Deuteranopia (green-blind)
#5D8EE7
Tritanopia (blue-blind)
#8F90A7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9f7bea;
/* rgb */ color: rgb(159, 123, 234);
/* oklch */ color: oklch(66.5% 0.162 296.7);
Tailwind
colors: {
  custom: {
    50: '#bea2f1',
    500: '#9f7bea',
    950: '#000000',
  },
}
SCSS
$custom: #9f7bea;
$custom-light: #bea2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f7bea",
  "rgb": {
    "r": 159,
    "g": 123,
    "b": 234
  },
  "hsl": {
    "h": 259.459,
    "s": 72.549,
    "l": 70
  },
  "oklch": {
    "l": 0.66539,
    "c": 0.16191,
    "h": 296.7
  },
  "luminance": 0.27477
}

Semantic roles & 50–950 ramp

primary
#9F7BEA
secondary
#E6F0D1
accent
#D51195
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#120F17
muted
#817F85

Preview Lab

Preview with #9F7BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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