#9A7BF3#9A7BF3

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

Color values

HEX#9A7BF3
RGBrgb(154, 123, 243)
HSLhsl(256, 83%, 72%)
HSVhsv(256, 49%, 95%)
CMYKcmyk(36.6%, 49.4%, 0%, 4.7%)
CIE-LABlab(59.44, 38.53, -56.34)
CIE-LCHlch(59.44, 68.26, 304.37°)
OKLaboklab(66.61% 0.0677 -0.1593)
OKLCHoklch(66.61% 0.173 293)
XYZxyz(36.5828, 27.5062, 88.1584)
Luminance0.2751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A7BF3 #D4F37B
analogous
#7B98F3 #9A7BF3 #D67BF3
triadic
#9A7BF3 #F39A7B #7BF39A
tetradic
#9A7BF3 #F37B98 #D4F37B #7BF3D6
square
#9A7BF3 #F37B98 #D4F37B #7BF3D6
split-complementary
#9A7BF3 #F3D67B #98F37B
monochromatic
#4914DF #6F43EE #9A7BF3 #C5B3F8 #EAE3FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A7BF3#FFFFFF#000000##000000
##9A7BF31.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)
#4D91F7
Deuteranopia (green-blind)
#528DF0
Tritanopia (blue-blind)
#8493AC
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9a7bf3;
/* rgb */ color: rgb(154, 123, 243);
/* oklch */ color: oklch(66.6% 0.173 293.0);
Tailwind
colors: {
  custom: {
    50: '#bca2f8',
    500: '#9a7bf3',
    950: '#000000',
  },
}
SCSS
$custom: #9a7bf3;
$custom-light: #bca2f8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a7bf3",
  "rgb": {
    "r": 154,
    "g": 123,
    "b": 243
  },
  "hsl": {
    "h": 255.5,
    "s": 83.333,
    "l": 71.765
  },
  "oklch": {
    "l": 0.66607,
    "c": 0.17309,
    "h": 293
  },
  "luminance": 0.27507
}

Semantic roles & 50–950 ramp

primary
#9A7BF3
secondary
#ECF4D6
accent
#E006A7
background
#FBFAFF
surface
#F7F3FF
border
#D0CDD7
text
#120F17
muted
#817F85

Preview Lab

Preview with #9A7BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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