#9138BF#9138BF

#9138BF is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.7% C 0.206 H 311.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#9138BF
RGBrgb(145, 56, 191)
HSLhsl(280, 55%, 48%)
HSVhsv(280, 71%, 75%)
CMYKcmyk(24.1%, 70.7%, 0%, 25.1%)
CIE-LABlab(42.17, 58.54, -54.55)
CIE-LCHlch(42.17, 80.02, 317.02°)
OKLaboklab(52.73% 0.1365 -0.1542)
OKLCHoklch(52.73% 0.206 311.5)
XYZxyz(22.4934, 12.6102, 50.5292)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9138BF #66BF38
analogous
#4E38BF #9138BF #BF38A9
triadic
#9138BF #BF9138 #38BF91
tetradic
#9138BF #BF4E38 #66BF38 #38A9BF
square
#9138BF #BF4E38 #66BF38 #38A9BF
split-complementary
#9138BF #A9BF38 #38BF4E
monochromatic
#491C60 #6D2A90 #9138BF #AC63D1 #C592DF

Accessibility & contrast

On white

5.96
#9138BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#9138BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9138BF
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9138BF#FFFFFF#000000##FFFFFF
##9138BF1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#2665BC
Tritanopia (blue-blind)
#8B5578
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9138bf;
/* rgb */ color: rgb(145, 56, 191);
/* oklch */ color: oklch(52.7% 0.206 311.5);
Tailwind
colors: {
  custom: {
    50: '#b576d3',
    500: '#9138bf',
    950: '#000000',
  },
}
SCSS
$custom: #9138bf;
$custom-light: #b576d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9138bf",
  "rgb": {
    "r": 145,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 279.556,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52734,
    "c": 0.20593,
    "h": 311.5
  },
  "luminance": 0.1261
}

Semantic roles & 50–950 ramp

primary
#9138BF
secondary
#9FCA89
accent
#DE4A7C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9138BF

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

Preview Lab → · Contrast checker → · Palette generator →

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