#9148E3#9148E3

#9148E3 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.1% C 0.223 H 301.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#9148E3
RGBrgb(145, 72, 227)
HSLhsl(268, 73%, 59%)
HSVhsv(268, 68%, 89%)
CMYKcmyk(36.1%, 68.3%, 0%, 11%)
CIE-LABlab(47.24, 59.55, -67.06)
CIE-LCHlch(47.24, 89.69, 311.60°)
OKLaboklab(57.14% 0.1153 -0.191)
OKLCHoklch(57.14% 0.223 301.1)
XYZxyz(27.8562, 16.2004, 74.3176)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9148E3 #9AE348
analogous
#484CE3 #9148E3 #DE48E3
triadic
#9148E3 #E39148 #48E391
tetradic
#9148E3 #E3484C #9AE348 #48E3DE
square
#9148E3 #E3484C #9AE348 #48E3DE
split-complementary
#9148E3 #E3DE48 #4CE348
monochromatic
#551799 #7220CE #9148E3 #B17DEB #D1B2F3

Accessibility & contrast

On white

4.95
#9148E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#9148E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9148E3
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9148E3#FFFFFF#000000##FFFFFF
##9148E31.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE8
Deuteranopia (green-blind)
#006FE0
Tritanopia (blue-blind)
#7F6D90
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9148e3;
/* rgb */ color: rgb(145, 72, 227);
/* oklch */ color: oklch(57.1% 0.223 301.1);
Tailwind
colors: {
  custom: {
    50: '#b780ed',
    500: '#9148e3',
    950: '#000000',
  },
}
SCSS
$custom: #9148e3;
$custom-light: #b780ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9148e3",
  "rgb": {
    "r": 145,
    "g": 72,
    "b": 227
  },
  "hsl": {
    "h": 268.258,
    "s": 73.46,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57142,
    "c": 0.22314,
    "h": 301.1
  },
  "luminance": 0.16201
}

Semantic roles & 50–950 ramp

primary
#9148E3
secondary
#C5E2A5
accent
#F03899
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9148E3

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

Preview Lab → · Contrast checker → · Palette generator →

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