#9138AF#9138AF

#9138AF is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.7% C 0.191 H 316.4°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9138AF
RGBrgb(145, 56, 175)
HSLhsl(285, 52%, 45%)
HSVhsv(285, 68%, 69%)
CMYKcmyk(17.1%, 68%, 0%, 31.4%)
CIE-LABlab(41.13, 55.21, -46.81)
CIE-LCHlch(41.13, 72.38, 319.70°)
OKLaboklab(51.66% 0.138 -0.1315)
OKLCHoklch(51.66% 0.191 316.4)
XYZxyz(20.8279, 11.9440, 41.7574)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9138AF #56AF38
analogous
#5538AF #9138AF #AF3891
triadic
#9138AF #AF9138 #38AF91
tetradic
#9138AF #AF5538 #56AF38 #3891AF
square
#9138AF #AF5538 #56AF38 #3891AF
split-complementary
#9138AF #91AF38 #38AF55
monochromatic
#441A52 #6B2981 #9138AF #AE5ACA #C588D9

Accessibility & contrast

On white

6.20
#9138AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9138AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9138AF
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9138AF#FFFFFF#000000##FFFFFF
##9138AF1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#3964AC
Tritanopia (blue-blind)
#8F4F6F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9138af;
/* rgb */ color: rgb(145, 56, 175);
/* oklch */ color: oklch(51.7% 0.191 316.4);
Tailwind
colors: {
  custom: {
    50: '#b576c7',
    500: '#9138af',
    950: '#000000',
  },
}
SCSS
$custom: #9138af;
$custom-light: #b576c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9138af",
  "rgb": {
    "r": 145,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 284.874,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51656,
    "c": 0.19058,
    "h": 316.4
  },
  "luminance": 0.11943
}

Semantic roles & 50–950 ramp

primary
#9138AF
secondary
#91C380
accent
#DB4D71
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9138AF

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

Preview Lab → · Contrast checker → · Palette generator →

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