#9B7EF5#9B7EF5

#9B7EF5 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.3% C 0.171 H 292.4°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#9B7EF5
RGBrgb(155, 126, 245)
HSLhsl(255, 86%, 73%)
HSVhsv(255, 49%, 96%)
CMYKcmyk(36.7%, 48.6%, 0%, 3.9%)
CIE-LABlab(60.32, 37.60, -56.03)
CIE-LCHlch(60.32, 67.48, 303.86°)
OKLaboklab(67.32% 0.0653 -0.1584)
OKLCHoklch(67.32% 0.171 292.4)
XYZxyz(37.4555, 28.4820, 89.8926)
Luminance0.2848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B7EF5 #D8F57E
analogous
#7E9CF5 #9B7EF5 #D77EF5
triadic
#9B7EF5 #F59B7E #7EF59B
tetradic
#9B7EF5 #F57E9C #D8F57E #7EF5D7
square
#9B7EF5 #F57E9C #D8F57E #7EF5D7
split-complementary
#9B7EF5 #F5D77E #9CF57E
monochromatic
#4612E7 #6F45F1 #9B7EF5 #C7B7F9 #E9E3FD

Accessibility & contrast

On white

3.14
#9B7EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#9B7EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B7EF5
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B7EF5#FFFFFF#000000##000000
##9B7EF51.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5193F9
Deuteranopia (green-blind)
#558FF2
Tritanopia (blue-blind)
#8496AE
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9b7ef5;
/* rgb */ color: rgb(155, 126, 245);
/* oklch */ color: oklch(67.3% 0.171 292.4);
Tailwind
colors: {
  custom: {
    50: '#bca4f9',
    500: '#9b7ef5',
    950: '#000000',
  },
}
SCSS
$custom: #9b7ef5;
$custom-light: #bca4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b7ef5",
  "rgb": {
    "r": 155,
    "g": 126,
    "b": 245
  },
  "hsl": {
    "h": 254.622,
    "s": 85.612,
    "l": 72.745
  },
  "oklch": {
    "l": 0.67323,
    "c": 0.17132,
    "h": 292.4
  },
  "luminance": 0.28483
}

Semantic roles & 50–950 ramp

primary
#9B7EF5
secondary
#EDF5D6
accent
#E203AC
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #9B7EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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