#9138CD#9138CD

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

Color values

HEX#9138CD
RGBrgb(145, 56, 205)
HSLhsl(276, 60%, 51%)
HSVhsv(276, 73%, 80%)
CMYKcmyk(29.3%, 72.7%, 0%, 19.6%)
CIE-LABlab(43.15, 61.56, -61.11)
CIE-LCHlch(43.15, 86.74, 315.21°)
OKLaboklab(53.74% 0.1345 -0.1734)
OKLCHoklch(53.74% 0.219 307.8)
XYZxyz(24.1084, 13.2562, 59.0344)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9138CD #74CD38
analogous
#4638CD #9138CD #CD38BE
triadic
#9138CD #CD9138 #38CD91
tetradic
#9138CD #CD4638 #74CD38 #38BECD
square
#9138CD #CD4638 #74CD38 #38BECD
split-complementary
#9138CD #BECD38 #38CD46
monochromatic
#4D1C6F #7028A0 #9138CD #AC69D9 #C79AE6

Accessibility & contrast

On white

5.75
#9138CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#9138CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9138CD
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9138CD#FFFFFF#000000##FFFFFF
##9138CD1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#0067CA
Tritanopia (blue-blind)
#875B80
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9138cd;
/* rgb */ color: rgb(145, 56, 205);
/* oklch */ color: oklch(53.7% 0.219 307.8);
Tailwind
colors: {
  custom: {
    50: '#b677dd',
    500: '#9138cd',
    950: '#000000',
  },
}
SCSS
$custom: #9138cd;
$custom-light: #b677dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9138cd",
  "rgb": {
    "r": 145,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 275.839,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53737,
    "c": 0.21947,
    "h": 307.8
  },
  "luminance": 0.13256
}

Semantic roles & 50–950 ramp

primary
#9138CD
secondary
#AAD18F
accent
#E34585
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9138CD

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

Preview Lab → · Contrast checker → · Palette generator →

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