#9B74FB#9B74FB

#9B74FB is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.0% C 0.193 H 293.8°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#9B74FB
RGBrgb(155, 116, 251)
HSLhsl(257, 94%, 72%)
HSVhsv(257, 54%, 98%)
CMYKcmyk(38.2%, 53.8%, 0%, 1.6%)
CIE-LABlab(58.44, 44.80, -62.36)
CIE-LCHlch(58.44, 76.78, 305.69°)
OKLaboklab(66.03% 0.0779 -0.177)
OKLCHoklch(66.03% 0.193 293.8)
XYZxyz(37.1709, 26.4235, 94.3899)
Luminance0.2642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B74FB #D4FB74
analogous
#7491FB #9B74FB #DE74FB
triadic
#9B74FB #FB9B74 #74FB9B
tetradic
#9B74FB #FB7491 #D4FB74 #74FBDE
square
#9B74FB #FB7491 #D4FB74 #74FBDE
split-complementary
#9B74FB #FBDE74 #91FB74
monochromatic
#4A07EE #7039F9 #9B74FB #C6AFFD #EAE1FE

Accessibility & contrast

On white

3.34
#9B74FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#9B74FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B74FB
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B74FB#FFFFFF#000000##000000
##9B74FB1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#358EFF
Deuteranopia (green-blind)
#408AF8
Tritanopia (blue-blind)
#8390AD
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9b74fb;
/* rgb */ color: rgb(155, 116, 251);
/* oklch */ color: oklch(66.0% 0.193 293.8);
Tailwind
colors: {
  custom: {
    50: '#bd9dfd',
    500: '#9b74fb',
    950: '#000000',
  },
}
SCSS
$custom: #9b74fb;
$custom-light: #bd9dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b74fb",
  "rgb": {
    "r": 155,
    "g": 116,
    "b": 251
  },
  "hsl": {
    "h": 257.333,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.66031,
    "c": 0.19334,
    "h": 293.8
  },
  "luminance": 0.26424
}

Semantic roles & 50–950 ramp

primary
#9B74FB
secondary
#EDF6D4
accent
#E600A3
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #9B74FB

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

Preview Lab → · Contrast checker → · Palette generator →

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