#9148D9#9148D9

#9148D9 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.4% C 0.213 H 303.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9148D9
RGBrgb(145, 72, 217)
HSLhsl(270, 66%, 57%)
HSVhsv(270, 67%, 85%)
CMYKcmyk(33.2%, 66.8%, 0%, 14.9%)
CIE-LABlab(46.53, 57.18, -62.52)
CIE-LCHlch(46.53, 84.72, 312.45°)
OKLaboklab(56.42% 0.1166 -0.1777)
OKLCHoklch(56.42% 0.213 303.3)
XYZxyz(26.5159, 15.6642, 67.2588)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9148D9 #90D948
analogous
#4948D9 #9148D9 #D948D9
triadic
#9148D9 #D99148 #48D991
tetradic
#9148D9 #D94948 #90D948 #48D9D9
square
#9148D9 #D94948 #90D948 #48D9D9
split-complementary
#9148D9 #D9D948 #48D949
monochromatic
#541D8A #7227BD #9148D9 #AF7BE4 #CEADEE

Accessibility & contrast

On white

5.08
#9148D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#9148D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9148D9
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9148D9#FFFFFF#000000##FFFFFF
##9148D91.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDD
Deuteranopia (green-blind)
#056ED6
Tritanopia (blue-blind)
#83698B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9148d9;
/* rgb */ color: rgb(145, 72, 217);
/* oklch */ color: oklch(56.4% 0.213 303.3);
Tailwind
colors: {
  custom: {
    50: '#b680e6',
    500: '#9148d9',
    950: '#000000',
  },
}
SCSS
$custom: #9148d9;
$custom-light: #b680e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9148d9",
  "rgb": {
    "r": 145,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 270.207,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56415,
    "c": 0.21253,
    "h": 303.3
  },
  "luminance": 0.15664
}

Semantic roles & 50–950 ramp

primary
#9148D9
secondary
#BEDCA1
accent
#E93F93
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9148D9

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

Preview Lab → · Contrast checker → · Palette generator →

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