#9B3EDD#9B3EDD

#9B3EDD is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.7% C 0.231 H 307.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9B3EDD
RGBrgb(155, 62, 221)
HSLhsl(275, 70%, 55%)
HSVhsv(275, 72%, 87%)
CMYKcmyk(29.9%, 71.9%, 0%, 13.3%)
CIE-LABlab(46.49, 64.47, -64.80)
CIE-LCHlch(46.49, 91.41, 314.85°)
OKLaboklab(56.75% 0.1393 -0.184)
OKLCHoklch(56.75% 0.231 307.1)
XYZxyz(28.2886, 15.6346, 69.9201)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3EDD #80DD3E
analogous
#4B3EDD #9B3EDD #DD3ED0
triadic
#9B3EDD #DD9B3E #3EDD9B
tetradic
#9B3EDD #DD4B3E #80DD3E #3ED0DD
square
#9B3EDD #DD4B3E #80DD3E #3ED0DD
split-complementary
#9B3EDD #D0DD3E #3EDD4B
monochromatic
#5A1889 #7C21BD #9B3EDD #B672E6 #D1A6EF

Accessibility & contrast

On white

5.09
#9B3EDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#9B3EDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3EDD
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3EDD#FFFFFF#000000##FFFFFF
##9B3EDD1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE2
Deuteranopia (green-blind)
#006FDA
Tritanopia (blue-blind)
#90638A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9b3edd;
/* rgb */ color: rgb(155, 62, 221);
/* oklch */ color: oklch(56.7% 0.231 307.1);
Tailwind
colors: {
  custom: {
    50: '#be7be8',
    500: '#9b3edd',
    950: '#000000',
  },
}
SCSS
$custom: #9b3edd;
$custom-light: #be7be8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3edd",
  "rgb": {
    "r": 155,
    "g": 62,
    "b": 221
  },
  "hsl": {
    "h": 275.094,
    "s": 70.044,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56748,
    "c": 0.23081,
    "h": 307.1
  },
  "luminance": 0.15634
}

Semantic roles & 50–950 ramp

primary
#9B3EDD
secondary
#B6DD9A
accent
#ED3B85
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9B3EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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