#9138CC#9138CC

#9138CC is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.7% C 0.219 H 308.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#9138CC
RGBrgb(145, 56, 204)
HSLhsl(276, 59%, 51%)
HSVhsv(276, 73%, 80%)
CMYKcmyk(28.9%, 72.5%, 0%, 20%)
CIE-LABlab(43.08, 61.34, -60.64)
CIE-LCHlch(43.08, 86.26, 315.33°)
OKLaboklab(53.66% 0.1347 -0.1721)
OKLCHoklch(53.66% 0.219 308)
XYZxyz(23.9880, 13.2081, 58.4008)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9138CC #73CC38
analogous
#4738CC #9138CC #CC38BD
triadic
#9138CC #CC9138 #38CC91
tetradic
#9138CC #CC4738 #73CC38 #38BDCC
square
#9138CC #CC4738 #73CC38 #38BDCC
split-complementary
#9138CC #BDCC38 #38CC47
monochromatic
#4D1C6E #6F299E #9138CC #AC69D8 #C799E5

Accessibility & contrast

On white

5.77
#9138CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9138CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9138CC
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9138CC#FFFFFF#000000##FFFFFF
##9138CC1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#0167C9
Tritanopia (blue-blind)
#885B7F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9138cc;
/* rgb */ color: rgb(145, 56, 204);
/* oklch */ color: oklch(53.7% 0.219 308.0);
Tailwind
colors: {
  custom: {
    50: '#b677dc',
    500: '#9138cc',
    950: '#000000',
  },
}
SCSS
$custom: #9138cc;
$custom-light: #b677dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9138cc",
  "rgb": {
    "r": 145,
    "g": 56,
    "b": 204
  },
  "hsl": {
    "h": 276.081,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53664,
    "c": 0.21851,
    "h": 308
  },
  "luminance": 0.13208
}

Semantic roles & 50–950 ramp

primary
#9138CC
secondary
#A9D18F
accent
#E24584
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9138CC

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

Preview Lab → · Contrast checker → · Palette generator →

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