#9148CA#9148CA

#9148CA is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.4% C 0.197 H 306.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9148CA
RGBrgb(145, 72, 202)
HSLhsl(274, 55%, 54%)
HSVhsv(274, 64%, 79%)
CMYKcmyk(28.2%, 64.4%, 0%, 20.8%)
CIE-LABlab(45.52, 53.68, -55.53)
CIE-LCHlch(45.52, 77.24, 314.03°)
OKLaboklab(55.37% 0.118 -0.1572)
OKLCHoklch(55.37% 0.197 306.9)
XYZxyz(24.6528, 14.9190, 57.4466)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9148CA #81CA48
analogous
#5048CA #9148CA #CA48C2
triadic
#9148CA #CA9148 #48CA91
tetradic
#9148CA #CA5048 #81CA48 #48C2CA
square
#9148CA #CA5048 #81CA48 #48C2CA
split-complementary
#9148CA #C2CA48 #48CA50
monochromatic
#512276 #7230A5 #9148CA #AE77D8 #CAA7E5

Accessibility & contrast

On white

5.27
#9148CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#9148CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9148CA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9148CA#FFFFFF#000000##FFFFFF
##9148CA1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#2C6CC7
Tritanopia (blue-blind)
#886383
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9148ca;
/* rgb */ color: rgb(145, 72, 202);
/* oklch */ color: oklch(55.4% 0.197 306.9);
Tailwind
colors: {
  custom: {
    50: '#b57fdb',
    500: '#9148ca',
    950: '#000000',
  },
}
SCSS
$custom: #9148ca;
$custom-light: #b57fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9148ca",
  "rgb": {
    "r": 145,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 273.692,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55371,
    "c": 0.19652,
    "h": 306.9
  },
  "luminance": 0.14919
}

Semantic roles & 50–950 ramp

primary
#9148CA
secondary
#B3D39B
accent
#DE498B
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9148CA

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

Preview Lab → · Contrast checker → · Palette generator →

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