#9138D1#9138D1

#9138D1 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.0% C 0.223 H 306.8°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#9138D1
RGBrgb(145, 56, 209)
HSLhsl(275, 62%, 52%)
HSVhsv(275, 73%, 82%)
CMYKcmyk(30.6%, 73.2%, 0%, 18%)
CIE-LABlab(43.44, 62.44, -62.95)
CIE-LCHlch(43.44, 88.66, 314.77°)
OKLaboklab(54.03% 0.1338 -0.1788)
OKLCHoklch(54.03% 0.223 306.8)
XYZxyz(24.5974, 13.4518, 61.6099)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9138D1 #78D138
analogous
#4538D1 #9138D1 #D138C5
triadic
#9138D1 #D19138 #38D191
tetradic
#9138D1 #D14538 #78D138 #38C5D1
square
#9138D1 #D14538 #78D138 #38C5D1
split-complementary
#9138D1 #C5D138 #38D145
monochromatic
#4F1B74 #7026A6 #9138D1 #AC6ADC #C89BE8

Accessibility & contrast

On white

5.69
#9138D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#9138D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9138D1
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9138D1#FFFFFF#000000##FFFFFF
##9138D11.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D5
Deuteranopia (green-blind)
#0067CE
Tritanopia (blue-blind)
#865D82
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9138d1;
/* rgb */ color: rgb(145, 56, 209);
/* oklch */ color: oklch(54.0% 0.223 306.8);
Tailwind
colors: {
  custom: {
    50: '#b777e0',
    500: '#9138d1',
    950: '#000000',
  },
}
SCSS
$custom: #9138d1;
$custom-light: #b777e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9138d1",
  "rgb": {
    "r": 145,
    "g": 56,
    "b": 209
  },
  "hsl": {
    "h": 274.902,
    "s": 62.449,
    "l": 51.961
  },
  "oklch": {
    "l": 0.54033,
    "c": 0.22335,
    "h": 306.8
  },
  "luminance": 0.13452
}

Semantic roles & 50–950 ramp

primary
#9138D1
secondary
#ADD491
accent
#E64287
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9138D1

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

Preview Lab → · Contrast checker → · Palette generator →

#9138D1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva