#9B7FF3#9B7FF3

#9B7FF3 is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.4% C 0.167 H 292.4°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#9B7FF3
RGBrgb(155, 127, 243)
HSLhsl(254, 83%, 73%)
HSVhsv(254, 48%, 95%)
CMYKcmyk(36.2%, 47.7%, 0%, 4.7%)
CIE-LABlab(60.44, 36.51, -54.74)
CIE-LCHlch(60.44, 65.79, 303.70°)
OKLaboklab(67.38% 0.0639 -0.1546)
OKLCHoklch(67.38% 0.167 292.4)
XYZxyz(37.2803, 28.6175, 88.3362)
Luminance0.2862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B7FF3 #D7F37F
analogous
#7F9DF3 #9B7FF3 #D57FF3
triadic
#9B7FF3 #F39B7F #7FF39B
tetradic
#9B7FF3 #F37F9D #D7F37F #7FF3D5
square
#9B7FF3 #F37F9D #D7F37F #7FF3D5
split-complementary
#9B7FF3 #F3D57F #9DF37F
monochromatic
#4715E2 #6F47EE #9B7FF3 #C7B7F8 #E9E3FC

Accessibility & contrast

On white

3.12
#9B7FF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#9B7FF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B7FF3
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B7FF3#FFFFFF#000000##000000
##9B7FF31.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5493F7
Deuteranopia (green-blind)
#5890F0
Tritanopia (blue-blind)
#8596AE
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9b7ff3;
/* rgb */ color: rgb(155, 127, 243);
/* oklch */ color: oklch(67.4% 0.167 292.4);
Tailwind
colors: {
  custom: {
    50: '#bca4f7',
    500: '#9b7ff3',
    950: '#000000',
  },
}
SCSS
$custom: #9b7ff3;
$custom-light: #bca4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b7ff3",
  "rgb": {
    "r": 155,
    "g": 127,
    "b": 243
  },
  "hsl": {
    "h": 254.483,
    "s": 82.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67379,
    "c": 0.16726,
    "h": 292.4
  },
  "luminance": 0.28618
}

Semantic roles & 50–950 ramp

primary
#9B7FF3
secondary
#EDF4D7
accent
#DF06AB
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #9B7FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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