#9148D4#9148D4

#9148D4 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.1% C 0.207 H 304.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9148D4
RGBrgb(145, 72, 212)
HSLhsl(271, 62%, 56%)
HSVhsv(271, 66%, 83%)
CMYKcmyk(31.6%, 66%, 0%, 16.9%)
CIE-LABlab(46.19, 56.00, -60.21)
CIE-LCHlch(46.19, 82.23, 312.93°)
OKLaboklab(56.06% 0.1172 -0.1709)
OKLCHoklch(56.06% 0.207 304.4)
XYZxyz(25.8754, 15.4080, 63.8855)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9148D4 #8BD448
analogous
#4B48D4 #9148D4 #D448D1
triadic
#9148D4 #D49148 #48D491
tetradic
#9148D4 #D44B48 #8BD448 #48D1D4
square
#9148D4 #D44B48 #8BD448 #48D1D4
split-complementary
#9148D4 #D1D448 #48D44B
monochromatic
#531F83 #722AB4 #9148D4 #AF7AE0 #CDABEB

Accessibility & contrast

On white

5.15
#9148D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9148D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9148D4
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9148D4#FFFFFF#000000##FFFFFF
##9148D41.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD8
Deuteranopia (green-blind)
#196DD1
Tritanopia (blue-blind)
#856788
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9148d4;
/* rgb */ color: rgb(145, 72, 212);
/* oklch */ color: oklch(56.1% 0.207 304.4);
Tailwind
colors: {
  custom: {
    50: '#b680e2',
    500: '#9148d4',
    950: '#000000',
  },
}
SCSS
$custom: #9148d4;
$custom-light: #b680e2;
$custom-dark: #000000;
JSON
{
  "hex": "#9148d4",
  "rgb": {
    "r": 145,
    "g": 72,
    "b": 212
  },
  "hsl": {
    "h": 271.286,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56061,
    "c": 0.2072,
    "h": 304.4
  },
  "luminance": 0.15408
}

Semantic roles & 50–950 ramp

primary
#9148D4
secondary
#BBD99F
accent
#E54390
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9148D4

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

Preview Lab → · Contrast checker → · Palette generator →

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