#9148D8#9148D8

#9148D8 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.3% C 0.211 H 303.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9148D8
RGBrgb(145, 72, 216)
HSLhsl(270, 65%, 56%)
HSVhsv(270, 67%, 85%)
CMYKcmyk(32.9%, 66.7%, 0%, 15.3%)
CIE-LABlab(46.46, 56.94, -62.06)
CIE-LCHlch(46.46, 84.22, 312.54°)
OKLaboklab(56.34% 0.1167 -0.1763)
OKLCHoklch(56.34% 0.211 303.5)
XYZxyz(26.3862, 15.6124, 66.5758)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9148D8 #8FD848
analogous
#4948D8 #9148D8 #D848D7
triadic
#9148D8 #D89148 #48D891
tetradic
#9148D8 #D84948 #8FD848 #48D7D8
square
#9148D8 #D84948 #8FD848 #48D7D8
split-complementary
#9148D8 #D7D848 #48D849
monochromatic
#541D89 #7228BB #9148D8 #AF7AE3 #CEADEE

Accessibility & contrast

On white

5.09
#9148D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#9148D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9148D8
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9148D8#FFFFFF#000000##FFFFFF
##9148D81.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDC
Deuteranopia (green-blind)
#0B6ED5
Tritanopia (blue-blind)
#83688A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9148d8;
/* rgb */ color: rgb(145, 72, 216);
/* oklch */ color: oklch(56.3% 0.211 303.5);
Tailwind
colors: {
  custom: {
    50: '#b680e5',
    500: '#9148d8',
    950: '#000000',
  },
}
SCSS
$custom: #9148d8;
$custom-light: #b680e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9148d8",
  "rgb": {
    "r": 145,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 270.417,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56344,
    "c": 0.21146,
    "h": 303.5
  },
  "luminance": 0.15612
}

Semantic roles & 50–950 ramp

primary
#9148D8
secondary
#BDDBA0
accent
#E84093
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9148D8

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

Preview Lab → · Contrast checker → · Palette generator →

#9148D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva