#9148CD#9148CD

#9148CD is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.6% C 0.200 H 306.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9148CD
RGBrgb(145, 72, 205)
HSLhsl(273, 57%, 54%)
HSVhsv(273, 65%, 80%)
CMYKcmyk(29.3%, 64.9%, 0%, 19.6%)
CIE-LABlab(45.72, 54.38, -56.95)
CIE-LCHlch(45.72, 78.74, 313.68°)
OKLaboklab(55.58% 0.1178 -0.1613)
OKLCHoklch(55.58% 0.2 306.1)
XYZxyz(25.0115, 15.0625, 59.3355)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9148CD #84CD48
analogous
#4E48CD #9148CD #CD48C7
triadic
#9148CD #CD9148 #48CD91
tetradic
#9148CD #CD4E48 #84CD48 #48C7CD
square
#9148CD #CD4E48 #84CD48 #48C7CD
split-complementary
#9148CD #C7CD48 #48CD4E
monochromatic
#522179 #722EA9 #9148CD #AE78DA #CBA8E7

Accessibility & contrast

On white

5.23
#9148CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#9148CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9148CD
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9148CD#FFFFFF#000000##FFFFFF
##9148CD1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#276DCA
Tritanopia (blue-blind)
#876484
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9148cd;
/* rgb */ color: rgb(145, 72, 205);
/* oklch */ color: oklch(55.6% 0.200 306.1);
Tailwind
colors: {
  custom: {
    50: '#b57fdd',
    500: '#9148cd',
    950: '#000000',
  },
}
SCSS
$custom: #9148cd;
$custom-light: #b57fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#9148cd",
  "rgb": {
    "r": 145,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 272.932,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.55575,
    "c": 0.19972,
    "h": 306.1
  },
  "luminance": 0.15062
}

Semantic roles & 50–950 ramp

primary
#9148CD
secondary
#B6D59C
accent
#E0478C
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9148CD

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

Preview Lab → · Contrast checker → · Palette generator →

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