#9B3FE2#9B3FE2

#9B3FE2 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 57.2% C 0.235 H 305.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#9B3FE2
RGBrgb(155, 63, 226)
HSLhsl(274, 74%, 57%)
HSVhsv(274, 72%, 89%)
CMYKcmyk(31.4%, 72.1%, 0%, 11.4%)
CIE-LABlab(46.99, 65.16, -66.83)
CIE-LCHlch(46.99, 93.34, 314.27°)
OKLaboklab(57.22% 0.1376 -0.19)
OKLCHoklch(57.22% 0.235 305.9)
XYZxyz(29.0195, 16.0148, 73.4991)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3FE2 #86E23F
analogous
#4A3FE2 #9B3FE2 #E23FD8
triadic
#9B3FE2 #E29B3F #3FE29B
tetradic
#9B3FE2 #E24A3F #86E23F #3FD8E2
square
#9B3FE2 #E24A3F #86E23F #3FD8E2
split-complementary
#9B3FE2 #D8E23F #3FE24A
monochromatic
#5B1691 #7D1EC6 #9B3FE2 #B774EA #D2A9F2

Accessibility & contrast

On white

5.00
#9B3FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#9B3FE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3FE2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3FE2#FFFFFF#000000##FFFFFF
##9B3FE21.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#0070DF
Tritanopia (blue-blind)
#8E668D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9b3fe2;
/* rgb */ color: rgb(155, 63, 226);
/* oklch */ color: oklch(57.2% 0.235 305.9);
Tailwind
colors: {
  custom: {
    50: '#be7cec',
    500: '#9b3fe2',
    950: '#000000',
  },
}
SCSS
$custom: #9b3fe2;
$custom-light: #be7cec;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3fe2",
  "rgb": {
    "r": 155,
    "g": 63,
    "b": 226
  },
  "hsl": {
    "h": 273.865,
    "s": 73.756,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57216,
    "c": 0.23455,
    "h": 305.9
  },
  "luminance": 0.16015
}

Semantic roles & 50–950 ramp

primary
#9B3FE2
secondary
#BAE09D
accent
#F03788
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9B3FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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