#9145D8#9145D8

#9145D8 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 56.0% C 0.215 H 303.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9145D8
RGBrgb(145, 69, 216)
HSLhsl(271, 65%, 56%)
HSVhsv(271, 68%, 85%)
CMYKcmyk(32.9%, 68.1%, 0%, 15.3%)
CIE-LABlab(45.95, 58.35, -62.88)
CIE-LCHlch(45.95, 85.79, 312.86°)
OKLaboklab(55.98% 0.1199 -0.1787)
OKLCHoklch(55.98% 0.215 303.9)
XYZxyz(26.1970, 15.2339, 66.5128)
Luminance0.1523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9145D8 #8CD845
analogous
#4745D8 #9145D8 #D845D6
triadic
#9145D8 #D89145 #45D891
tetradic
#9145D8 #D84745 #8CD845 #45D6D8
square
#9145D8 #D84745 #8CD845 #45D6D8
split-complementary
#9145D8 #D6D845 #45D847
monochromatic
#531C86 #7227B9 #9145D8 #AF78E3 #CDAAED

Accessibility & contrast

On white

5.19
#9145D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#9145D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9145D8
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9145D8#FFFFFF#000000##FFFFFF
##9145D81.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDC
Deuteranopia (green-blind)
#006DD5
Tritanopia (blue-blind)
#836789
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9145d8;
/* rgb */ color: rgb(145, 69, 216);
/* oklch */ color: oklch(56.0% 0.215 303.9);
Tailwind
colors: {
  custom: {
    50: '#b67ee5',
    500: '#9145d8',
    950: '#000000',
  },
}
SCSS
$custom: #9145d8;
$custom-light: #b67ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#9145d8",
  "rgb": {
    "r": 145,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 271.02,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55979,
    "c": 0.21521,
    "h": 303.9
  },
  "luminance": 0.15234
}

Semantic roles & 50–950 ramp

primary
#9145D8
secondary
#BBDB9E
accent
#E84091
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9145D8

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

Preview Lab → · Contrast checker → · Palette generator →

#9145D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva