#9148D5#9148D5

#9148D5 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.1% C 0.208 H 304.2°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9148D5
RGBrgb(145, 72, 213)
HSLhsl(271, 63%, 56%)
HSVhsv(271, 66%, 84%)
CMYKcmyk(31.9%, 66.2%, 0%, 16.5%)
CIE-LABlab(46.26, 56.24, -60.68)
CIE-LCHlch(46.26, 82.73, 312.83°)
OKLaboklab(56.13% 0.1171 -0.1723)
OKLCHoklch(56.13% 0.208 304.2)
XYZxyz(26.0019, 15.4587, 64.5519)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9148D5 #8CD548
analogous
#4A48D5 #9148D5 #D548D2
triadic
#9148D5 #D59148 #48D591
tetradic
#9148D5 #D54A48 #8CD548 #48D2D5
square
#9148D5 #D54A48 #8CD548 #48D2D5
split-complementary
#9148D5 #D2D548 #48D54A
monochromatic
#531E84 #722AB6 #9148D5 #AF7AE0 #CDACEC

Accessibility & contrast

On white

5.13
#9148D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#9148D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9148D5
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9148D5#FFFFFF#000000##FFFFFF
##9148D51.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD9
Deuteranopia (green-blind)
#166ED2
Tritanopia (blue-blind)
#846789
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9148d5;
/* rgb */ color: rgb(145, 72, 213);
/* oklch */ color: oklch(56.1% 0.208 304.2);
Tailwind
colors: {
  custom: {
    50: '#b680e3',
    500: '#9148d5',
    950: '#000000',
  },
}
SCSS
$custom: #9148d5;
$custom-light: #b680e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9148d5",
  "rgb": {
    "r": 145,
    "g": 72,
    "b": 213
  },
  "hsl": {
    "h": 271.064,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56131,
    "c": 0.20826,
    "h": 304.2
  },
  "luminance": 0.15459
}

Semantic roles & 50–950 ramp

primary
#9148D5
secondary
#BBDA9F
accent
#E64291
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120A15
muted
#817C84

Preview Lab

Preview with #9148D5

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

Preview Lab → · Contrast checker → · Palette generator →

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