#9148D2#9148D2

#9148D2 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.9% C 0.205 H 304.9°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9148D2
RGBrgb(145, 72, 210)
HSLhsl(272, 61%, 55%)
HSVhsv(272, 66%, 82%)
CMYKcmyk(31%, 65.7%, 0%, 17.6%)
CIE-LABlab(46.05, 55.54, -59.28)
CIE-LCHlch(46.05, 81.23, 313.13°)
OKLaboklab(55.92% 0.1174 -0.1682)
OKLCHoklch(55.92% 0.205 304.9)
XYZxyz(25.6247, 15.3078, 62.5650)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9148D2 #89D248
analogous
#4C48D2 #9148D2 #D248CE
triadic
#9148D2 #D29148 #48D291
tetradic
#9148D2 #D24C48 #89D248 #48CED2
square
#9148D2 #D24C48 #89D248 #48CED2
split-complementary
#9148D2 #CED248 #48D24C
monochromatic
#532080 #722CB1 #9148D2 #AF79DE #CCAAEA

Accessibility & contrast

On white

5.17
#9148D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#9148D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9148D2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9148D2#FFFFFF#000000##FFFFFF
##9148D21.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#1E6DCF
Tritanopia (blue-blind)
#856687
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9148d2;
/* rgb */ color: rgb(145, 72, 210);
/* oklch */ color: oklch(55.9% 0.205 304.9);
Tailwind
colors: {
  custom: {
    50: '#b680e1',
    500: '#9148d2',
    950: '#000000',
  },
}
SCSS
$custom: #9148d2;
$custom-light: #b680e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9148d2",
  "rgb": {
    "r": 145,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 271.739,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55921,
    "c": 0.20507,
    "h": 304.9
  },
  "luminance": 0.15308
}

Semantic roles & 50–950 ramp

primary
#9148D2
secondary
#B9D89E
accent
#E4448F
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9148D2

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

Preview Lab → · Contrast checker → · Palette generator →

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