#9334CB#9334CB

#9334CB is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.4% C 0.222 H 309.4°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#9334CB
RGBrgb(147, 52, 203)
HSLhsl(278, 59%, 50%)
HSVhsv(278, 74%, 80%)
CMYKcmyk(27.6%, 74.4%, 0%, 20.4%)
CIE-LABlab(42.72, 63.09, -60.63)
CIE-LCHlch(42.72, 87.50, 316.14°)
OKLaboklab(53.45% 0.1412 -0.1719)
OKLCHoklch(53.45% 0.222 309.4)
XYZxyz(24.0379, 12.9713, 57.7257)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9334CB #6CCB34
analogous
#4734CB #9334CB #CB34B8
triadic
#9334CB #CB9334 #34CB93
tetradic
#9334CB #CB4734 #6CCB34 #34B8CB
square
#9334CB #CB4734 #6CCB34 #34B8CB
split-complementary
#9334CB #B8CB34 #34CB47
monochromatic
#4C1B6A #70289A #9334CB #AD65D7 #C795E4

Accessibility & contrast

On white

5.84
#9334CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9334CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9334CB
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9334CB#FFFFFF#000000##FFFFFF
##9334CB1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#0266C8
Tritanopia (blue-blind)
#8B587D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9334cb;
/* rgb */ color: rgb(147, 52, 203);
/* oklch */ color: oklch(53.4% 0.222 309.4);
Tailwind
colors: {
  custom: {
    50: '#b875dc',
    500: '#9334cb',
    950: '#000000',
  },
}
SCSS
$custom: #9334cb;
$custom-light: #b875dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9334cb",
  "rgb": {
    "r": 147,
    "g": 52,
    "b": 203
  },
  "hsl": {
    "h": 277.748,
    "s": 59.216,
    "l": 50
  },
  "oklch": {
    "l": 0.53447,
    "c": 0.22249,
    "h": 309.4
  },
  "luminance": 0.12971
}

Semantic roles & 50–950 ramp

primary
#9334CB
secondary
#A5CF8C
accent
#E24580
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9334CB

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

Preview Lab → · Contrast checker → · Palette generator →

#9334CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva