#9148E2#9148E2

#9148E2 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 57.1% C 0.222 H 301.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9148E2
RGBrgb(145, 72, 226)
HSLhsl(268, 73%, 58%)
HSVhsv(268, 68%, 89%)
CMYKcmyk(35.8%, 68.1%, 0%, 11.4%)
CIE-LABlab(47.16, 59.31, -66.61)
CIE-LCHlch(47.16, 89.19, 311.68°)
OKLaboklab(57.07% 0.1154 -0.1897)
OKLCHoklch(57.07% 0.222 301.3)
XYZxyz(27.7186, 16.1453, 73.5928)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9148E2 #99E248
analogous
#484CE2 #9148E2 #DE48E2
triadic
#9148E2 #E29148 #48E291
tetradic
#9148E2 #E2484C #99E248 #48E2DE
square
#9148E2 #E2484C #99E248 #48E2DE
split-complementary
#9148E2 #E2DE48 #4CE248
monochromatic
#541898 #7220CC #9148E2 #B17DEA #D1B2F3

Accessibility & contrast

On white

4.97
#9148E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#9148E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9148E2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9148E2#FFFFFF#000000##FFFFFF
##9148E21.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE7
Deuteranopia (green-blind)
#006FDF
Tritanopia (blue-blind)
#806C90
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9148e2;
/* rgb */ color: rgb(145, 72, 226);
/* oklch */ color: oklch(57.1% 0.222 301.3);
Tailwind
colors: {
  custom: {
    50: '#b780ec',
    500: '#9148e2',
    950: '#000000',
  },
}
SCSS
$custom: #9148e2;
$custom-light: #b780ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9148e2",
  "rgb": {
    "r": 145,
    "g": 72,
    "b": 226
  },
  "hsl": {
    "h": 268.442,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57068,
    "c": 0.22207,
    "h": 301.3
  },
  "luminance": 0.16145
}

Semantic roles & 50–950 ramp

primary
#9148E2
secondary
#C4E1A4
accent
#EF3899
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9148E2

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

Preview Lab → · Contrast checker → · Palette generator →

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