#9148CB#9148CB

#9148CB is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.4% C 0.198 H 306.6°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9148CB
RGBrgb(145, 72, 203)
HSLhsl(273, 56%, 54%)
HSVhsv(273, 65%, 80%)
CMYKcmyk(28.6%, 64.5%, 0%, 20.4%)
CIE-LABlab(45.59, 53.91, -56.01)
CIE-LCHlch(45.59, 77.74, 313.91°)
OKLaboklab(55.44% 0.1179 -0.1585)
OKLCHoklch(55.44% 0.198 306.6)
XYZxyz(24.7716, 14.9665, 58.0722)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9148CB #82CB48
analogous
#5048CB #9148CB #CB48C4
triadic
#9148CB #CB9148 #48CB91
tetradic
#9148CB #CB5048 #82CB48 #48C4CB
square
#9148CB #CB5048 #82CB48 #48C4CB
split-complementary
#9148CB #C4CB48 #48CB50
monochromatic
#512277 #722FA6 #9148CB #AE78D9 #CAA7E6

Accessibility & contrast

On white

5.26
#9148CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#9148CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9148CB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9148CB#FFFFFF#000000##FFFFFF
##9148CB1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#2A6CC8
Tritanopia (blue-blind)
#876483
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9148cb;
/* rgb */ color: rgb(145, 72, 203);
/* oklch */ color: oklch(55.4% 0.198 306.6);
Tailwind
colors: {
  custom: {
    50: '#b57fdc',
    500: '#9148cb',
    950: '#000000',
  },
}
SCSS
$custom: #9148cb;
$custom-light: #b57fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9148cb",
  "rgb": {
    "r": 145,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 273.435,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55438,
    "c": 0.19759,
    "h": 306.6
  },
  "luminance": 0.14966
}

Semantic roles & 50–950 ramp

primary
#9148CB
secondary
#B4D39B
accent
#DF498B
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9148CB

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

Preview Lab → · Contrast checker → · Palette generator →

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