#9138C8#9138C8

#9138C8 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.4% C 0.215 H 309.1°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#9138C8
RGBrgb(145, 56, 200)
HSLhsl(277, 57%, 50%)
HSVhsv(277, 72%, 78%)
CMYKcmyk(27.5%, 72%, 0%, 21.6%)
CIE-LABlab(42.79, 60.47, -58.79)
CIE-LCHlch(42.79, 84.34, 315.81°)
OKLaboklab(53.37% 0.1353 -0.1666)
OKLCHoklch(53.37% 0.215 309.1)
XYZxyz(23.5144, 13.0187, 55.9065)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9138C8 #6FC838
analogous
#4938C8 #9138C8 #C838B7
triadic
#9138C8 #C89138 #38C891
tetradic
#9138C8 #C84938 #6FC838 #38B7C8
square
#9138C8 #C84938 #6FC838 #38B7C8
split-complementary
#9138C8 #B7C838 #38C849
monochromatic
#4C1D69 #6E2A99 #9138C8 #AC68D5 #C698E3

Accessibility & contrast

On white

5.83
#9138C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9138C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9138C8
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9138C8#FFFFFF#000000##FFFFFF
##9138C81.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#1366C5
Tritanopia (blue-blind)
#89597D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9138c8;
/* rgb */ color: rgb(145, 56, 200);
/* oklch */ color: oklch(53.4% 0.215 309.1);
Tailwind
colors: {
  custom: {
    50: '#b677da',
    500: '#9138c8',
    950: '#000000',
  },
}
SCSS
$custom: #9138c8;
$custom-light: #b677da;
$custom-dark: #000000;
JSON
{
  "hex": "#9138c8",
  "rgb": {
    "r": 145,
    "g": 56,
    "b": 200
  },
  "hsl": {
    "h": 277.083,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53373,
    "c": 0.21464,
    "h": 309.1
  },
  "luminance": 0.13018
}

Semantic roles & 50–950 ramp

primary
#9138C8
secondary
#A6CE8E
accent
#E04882
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9138C8

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

Preview Lab → · Contrast checker → · Palette generator →

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