#9B38D0#9B38D0

#9B38D0 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 55.2% C 0.225 H 310.8°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#9B38D0
RGBrgb(155, 56, 208)
HSLhsl(279, 62%, 52%)
HSVhsv(279, 73%, 82%)
CMYKcmyk(25.5%, 73.1%, 0%, 18.4%)
CIE-LABlab(44.73, 64.10, -60.20)
CIE-LCHlch(44.73, 87.94, 316.79°)
OKLaboklab(55.21% 0.1471 -0.1704)
OKLCHoklch(55.21% 0.225 310.8)
XYZxyz(26.3147, 14.3516, 61.0462)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B38D0 #6DD038
analogous
#4F38D0 #9B38D0 #D038B9
triadic
#9B38D0 #D09B38 #38D09B
tetradic
#9B38D0 #D04F38 #6DD038 #38B9D0
square
#9B38D0 #D04F38 #6DD038 #38B9D0
split-complementary
#9B38D0 #B9D038 #38D04F
monochromatic
#541B73 #7827A4 #9B38D0 #B46ADC #CD9BE7

Accessibility & contrast

On white

5.43
#9B38D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9B38D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B38D0
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B38D0#FFFFFF#000000##FFFFFF
##9B38D01.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D4
Deuteranopia (green-blind)
#1B6BCD
Tritanopia (blue-blind)
#945B81
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9b38d0;
/* rgb */ color: rgb(155, 56, 208);
/* oklch */ color: oklch(55.2% 0.225 310.8);
Tailwind
colors: {
  custom: {
    50: '#bd78df',
    500: '#9b38d0',
    950: '#000000',
  },
}
SCSS
$custom: #9b38d0;
$custom-light: #bd78df;
$custom-dark: #000000;
JSON
{
  "hex": "#9b38d0",
  "rgb": {
    "r": 155,
    "g": 56,
    "b": 208
  },
  "hsl": {
    "h": 279.079,
    "s": 61.789,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55214,
    "c": 0.22513,
    "h": 310.8
  },
  "luminance": 0.14351
}

Semantic roles & 50–950 ramp

primary
#9B38D0
secondary
#A8D391
accent
#E5437B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9B38D0

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

Preview Lab → · Contrast checker → · Palette generator →

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