#9A7BF4#9A7BF4

#9A7BF4 is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.7% C 0.174 H 292.9°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#9A7BF4
RGBrgb(154, 123, 244)
HSLhsl(255, 85%, 72%)
HSVhsv(255, 50%, 96%)
CMYKcmyk(36.9%, 49.6%, 0%, 4.3%)
CIE-LABlab(59.50, 38.80, -56.80)
CIE-LCHlch(59.50, 68.79, 304.33°)
OKLaboklab(66.67% 0.0677 -0.1607)
OKLCHoklch(66.67% 0.174 292.9)
XYZxyz(36.7342, 27.5667, 88.9559)
Luminance0.2757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A7BF4 #D5F47B
analogous
#7B99F4 #9A7BF4 #D77BF4
triadic
#9A7BF4 #F49A7B #7BF49A
tetradic
#9A7BF4 #F47B99 #D5F47B #7BF4D7
square
#9A7BF4 #F47B99 #D5F47B #7BF4D7
split-complementary
#9A7BF4 #F4D77B #99F47B
monochromatic
#4813E2 #6F43EF #9A7BF4 #C5B3F9 #E9E3FD

Accessibility & contrast

On white

3.22
#9A7BF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#9A7BF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A7BF4
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A7BF4#FFFFFF#000000##000000
##9A7BF41.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C91F8
Deuteranopia (green-blind)
#518DF1
Tritanopia (blue-blind)
#8393AC
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9a7bf4;
/* rgb */ color: rgb(154, 123, 244);
/* oklch */ color: oklch(66.7% 0.174 292.9);
Tailwind
colors: {
  custom: {
    50: '#bca2f8',
    500: '#9a7bf4',
    950: '#000000',
  },
}
SCSS
$custom: #9a7bf4;
$custom-light: #bca2f8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a7bf4",
  "rgb": {
    "r": 154,
    "g": 123,
    "b": 244
  },
  "hsl": {
    "h": 255.372,
    "s": 84.615,
    "l": 71.961
  },
  "oklch": {
    "l": 0.66666,
    "c": 0.17438,
    "h": 292.9
  },
  "luminance": 0.27568
}

Semantic roles & 50–950 ramp

primary
#9A7BF4
secondary
#EDF5D6
accent
#E104A9
background
#FBFAFF
surface
#F7F3FF
border
#D0CDD7
text
#120F17
muted
#817F85

Preview Lab

Preview with #9A7BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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