#9333DB#9333DB

#9333DB is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.6% C 0.238 H 305.6°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#9333DB
RGBrgb(147, 51, 219)
HSLhsl(274, 70%, 53%)
HSVhsv(274, 77%, 86%)
CMYKcmyk(32.9%, 76.7%, 0%, 14.1%)
CIE-LABlab(43.78, 66.91, -68.12)
CIE-LCHlch(43.78, 95.48, 314.49°)
OKLaboklab(54.56% 0.1388 -0.1939)
OKLCHoklch(54.56% 0.238 305.6)
XYZxyz(25.9998, 13.6854, 68.2759)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9333DB #7BDB33
analogous
#3F33DB #9333DB #DB33CF
triadic
#9333DB #DB9333 #33DB93
tetradic
#9333DB #DB3F33 #7BDB33 #33CFDB
square
#9333DB #DB3F33 #7BDB33 #33CFDB
split-complementary
#9333DB #CFDB33 #33DB3F
monochromatic
#51167D #731FB1 #9333DB #AF67E4 #CA9BED

Accessibility & contrast

On white

5.62
#9333DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#9333DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9333DB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9333DB#FFFFFF#000000##FFFFFF
##9333DB1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E0
Deuteranopia (green-blind)
#0068D8
Tritanopia (blue-blind)
#865E86
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9333db;
/* rgb */ color: rgb(147, 51, 219);
/* oklch */ color: oklch(54.6% 0.238 305.6);
Tailwind
colors: {
  custom: {
    50: '#b975e7',
    500: '#9333db',
    950: '#000000',
  },
}
SCSS
$custom: #9333db;
$custom-light: #b975e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9333db",
  "rgb": {
    "r": 147,
    "g": 51,
    "b": 219
  },
  "hsl": {
    "h": 274.286,
    "s": 70,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54564,
    "c": 0.23848,
    "h": 305.6
  },
  "luminance": 0.13685
}

Semantic roles & 50–950 ramp

primary
#9333DB
secondary
#B0D991
accent
#ED3B87
background
#FCF7FE
surface
#F8EDFD
border
#D1C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #9333DB

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

Preview Lab → · Contrast checker → · Palette generator →

#9333DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva