#9148C8#9148C8

#9148C8 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.2% C 0.194 H 307.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#9148C8
RGBrgb(145, 72, 200)
HSLhsl(274, 54%, 53%)
HSVhsv(274, 64%, 78%)
CMYKcmyk(27.5%, 64%, 0%, 21.6%)
CIE-LABlab(45.39, 53.23, -54.59)
CIE-LCHlch(45.39, 76.24, 314.28°)
OKLaboklab(55.24% 0.1181 -0.1544)
OKLCHoklch(55.24% 0.194 307.4)
XYZxyz(24.4176, 14.8249, 56.2075)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9148C8 #7FC848
analogous
#5148C8 #9148C8 #C848BF
triadic
#9148C8 #C89148 #48C891
tetradic
#9148C8 #C85148 #7FC848 #48BFC8
square
#9148C8 #C85148 #7FC848 #48BFC8
split-complementary
#9148C8 #BFC848 #48C851
monochromatic
#502373 #7131A2 #9148C8 #AD77D6 #CAA6E4

Accessibility & contrast

On white

5.30
#9148C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#9148C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9148C8
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9148C8#FFFFFF#000000##FFFFFF
##9148C81.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#2F6CC5
Tritanopia (blue-blind)
#886282
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9148c8;
/* rgb */ color: rgb(145, 72, 200);
/* oklch */ color: oklch(55.2% 0.194 307.4);
Tailwind
colors: {
  custom: {
    50: '#b57fd9',
    500: '#9148c8',
    950: '#000000',
  },
}
SCSS
$custom: #9148c8;
$custom-light: #b57fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9148c8",
  "rgb": {
    "r": 145,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 274.219,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55236,
    "c": 0.19438,
    "h": 307.4
  },
  "luminance": 0.14825
}

Semantic roles & 50–950 ramp

primary
#9148C8
secondary
#B2D19A
accent
#DD4B8A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9148C8

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

Preview Lab → · Contrast checker → · Palette generator →

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