#9145C7#9145C7

#9145C7 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.8% C 0.197 H 308.0°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#9145C7
RGBrgb(145, 69, 199)
HSLhsl(275, 54%, 53%)
HSVhsv(275, 65%, 78%)
CMYKcmyk(27.1%, 65.3%, 0%, 22%)
CIE-LABlab(44.80, 54.45, -54.96)
CIE-LCHlch(44.80, 77.36, 314.73°)
OKLaboklab(54.79% 0.1217 -0.1555)
OKLCHoklch(54.79% 0.197 308)
XYZxyz(24.1119, 14.3999, 55.5310)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9145C7 #7BC745
analogous
#5045C7 #9145C7 #C745BC
triadic
#9145C7 #C79145 #45C791
tetradic
#9145C7 #C75045 #7BC745 #45BCC7
square
#9145C7 #C75045 #7BC745 #45BCC7
split-complementary
#9145C7 #BCC745 #45C750
monochromatic
#4F2270 #71309F #9145C7 #AD74D5 #C9A3E3

Accessibility & contrast

On white

5.41
#9145C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#9145C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9145C7
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9145C7#FFFFFF#000000##FFFFFF
##9145C71.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#2C6BC4
Tritanopia (blue-blind)
#896080
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9145c7;
/* rgb */ color: rgb(145, 69, 199);
/* oklch */ color: oklch(54.8% 0.197 308.0);
Tailwind
colors: {
  custom: {
    50: '#b57ed9',
    500: '#9145c7',
    950: '#000000',
  },
}
SCSS
$custom: #9145c7;
$custom-light: #b57ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#9145c7",
  "rgb": {
    "r": 145,
    "g": 69,
    "b": 199
  },
  "hsl": {
    "h": 275.077,
    "s": 53.719,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54788,
    "c": 0.1974,
    "h": 308
  },
  "luminance": 0.144
}

Semantic roles & 50–950 ramp

primary
#9145C7
secondary
#AFD098
accent
#DD4B88
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A15
muted
#817C83

Preview Lab

Preview with #9145C7

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

Preview Lab → · Contrast checker → · Palette generator →

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