#9148CC#9148CC

#9148CC is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.5% C 0.199 H 306.4°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9148CC
RGBrgb(145, 72, 204)
HSLhsl(273, 56%, 54%)
HSVhsv(273, 65%, 80%)
CMYKcmyk(28.9%, 64.7%, 0%, 20%)
CIE-LABlab(45.65, 54.14, -56.48)
CIE-LCHlch(45.65, 78.24, 313.79°)
OKLaboklab(55.51% 0.1179 -0.1599)
OKLCHoklch(55.51% 0.199 306.4)
XYZxyz(24.8912, 15.0144, 58.7018)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9148CC #83CC48
analogous
#4F48CC #9148CC #CC48C5
triadic
#9148CC #CC9148 #48CC91
tetradic
#9148CC #CC4F48 #83CC48 #48C5CC
square
#9148CC #CC4F48 #83CC48 #48C5CC
split-complementary
#9148CC #C5CC48 #48CC4F
monochromatic
#512178 #722FA8 #9148CC #AE78D9 #CBA8E7

Accessibility & contrast

On white

5.25
#9148CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#9148CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9148CC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9148CC#FFFFFF#000000##FFFFFF
##9148CC1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#296DC9
Tritanopia (blue-blind)
#876484
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9148cc;
/* rgb */ color: rgb(145, 72, 204);
/* oklch */ color: oklch(55.5% 0.199 306.4);
Tailwind
colors: {
  custom: {
    50: '#b57fdc',
    500: '#9148cc',
    950: '#000000',
  },
}
SCSS
$custom: #9148cc;
$custom-light: #b57fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9148cc",
  "rgb": {
    "r": 145,
    "g": 72,
    "b": 204
  },
  "hsl": {
    "h": 273.182,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55506,
    "c": 0.19866,
    "h": 306.4
  },
  "luminance": 0.15014
}

Semantic roles & 50–950 ramp

primary
#9148CC
secondary
#B5D49C
accent
#E0488C
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9148CC

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

Preview Lab → · Contrast checker → · Palette generator →

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