#9B7CF5#9B7CF5

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

Color values

HEX#9B7CF5
RGBrgb(155, 124, 245)
HSLhsl(255, 86%, 72%)
HSVhsv(255, 49%, 96%)
CMYKcmyk(36.7%, 49.4%, 0%, 3.9%)
CIE-LABlab(59.87, 38.74, -56.76)
CIE-LCHlch(59.87, 68.72, 304.31°)
OKLaboklab(66.98% 0.0678 -0.1605)
OKLCHoklch(66.98% 0.174 292.9)
XYZxyz(37.2023, 27.9756, 89.8083)
Luminance0.2798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B7CF5 #D6F57C
analogous
#7C99F5 #9B7CF5 #D87CF5
triadic
#9B7CF5 #F59B7C #7CF59B
tetradic
#9B7CF5 #F57C99 #D6F57C #7CF5D8
square
#9B7CF5 #F57C99 #D6F57C #7CF5D8
split-complementary
#9B7CF5 #F5D87C #99F57C
monochromatic
#4811E5 #7043F1 #9B7CF5 #C6B5F9 #E9E3FD

Accessibility & contrast

On white

3.18
#9B7CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#9B7CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B7CF5
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B7CF5#FFFFFF#000000##000000
##9B7CF51.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D92F9
Deuteranopia (green-blind)
#538EF2
Tritanopia (blue-blind)
#8594AD
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9b7cf5;
/* rgb */ color: rgb(155, 124, 245);
/* oklch */ color: oklch(67.0% 0.174 292.9);
Tailwind
colors: {
  custom: {
    50: '#bca2f9',
    500: '#9b7cf5',
    950: '#000000',
  },
}
SCSS
$custom: #9b7cf5;
$custom-light: #bca2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b7cf5",
  "rgb": {
    "r": 155,
    "g": 124,
    "b": 245
  },
  "hsl": {
    "h": 255.372,
    "s": 85.816,
    "l": 72.353
  },
  "oklch": {
    "l": 0.66983,
    "c": 0.17425,
    "h": 292.9
  },
  "luminance": 0.27976
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B7CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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