#9138CF#9138CF

#9138CF is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.9% C 0.221 H 307.3°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9138CF
RGBrgb(145, 56, 207)
HSLhsl(275, 61%, 52%)
HSVhsv(275, 73%, 81%)
CMYKcmyk(30%, 72.9%, 0%, 18.8%)
CIE-LABlab(43.29, 62.00, -62.03)
CIE-LCHlch(43.29, 87.70, 314.99°)
OKLaboklab(53.88% 0.1342 -0.1761)
OKLCHoklch(53.88% 0.221 307.3)
XYZxyz(24.3513, 13.3534, 60.3140)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9138CF #76CF38
analogous
#4638CF #9138CF #CF38C2
triadic
#9138CF #CF9138 #38CF91
tetradic
#9138CF #CF4638 #76CF38 #38C2CF
square
#9138CF #CF4638 #76CF38 #38C2CF
split-complementary
#9138CF #C2CF38 #38CF46
monochromatic
#4E1B71 #7027A3 #9138CF #AC69DB #C89BE7

Accessibility & contrast

On white

5.72
#9138CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#9138CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9138CF
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9138CF#FFFFFF#000000##FFFFFF
##9138CF1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#875C81
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9138cf;
/* rgb */ color: rgb(145, 56, 207);
/* oklch */ color: oklch(53.9% 0.221 307.3);
Tailwind
colors: {
  custom: {
    50: '#b677df',
    500: '#9138cf',
    950: '#000000',
  },
}
SCSS
$custom: #9138cf;
$custom-light: #b677df;
$custom-dark: #000000;
JSON
{
  "hex": "#9138cf",
  "rgb": {
    "r": 145,
    "g": 56,
    "b": 207
  },
  "hsl": {
    "h": 275.364,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53884,
    "c": 0.22142,
    "h": 307.3
  },
  "luminance": 0.13353
}

Semantic roles & 50–950 ramp

primary
#9138CF
secondary
#ABD390
accent
#E44486
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9138CF

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

Preview Lab → · Contrast checker → · Palette generator →

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