#9145C2#9145C2

#9145C2 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.5% C 0.192 H 309.4°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9145C2
RGBrgb(145, 69, 194)
HSLhsl(276, 51%, 52%)
HSVhsv(276, 64%, 76%)
CMYKcmyk(25.3%, 64.4%, 0%, 23.9%)
CIE-LABlab(44.48, 53.32, -52.58)
CIE-LCHlch(44.48, 74.89, 315.40°)
OKLaboklab(54.45% 0.122 -0.1485)
OKLCHoklch(54.45% 0.192 309.4)
XYZxyz(23.5409, 14.1715, 52.5237)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9145C2 #76C245
analogous
#5345C2 #9145C2 #C245B5
triadic
#9145C2 #C29145 #45C291
tetradic
#9145C2 #C25345 #76C245 #45B5C2
square
#9145C2 #C25345 #76C245 #45B5C2
split-complementary
#9145C2 #B5C245 #45C253
monochromatic
#4E236A #703298 #9145C2 #AC73D1 #C8A1E0

Accessibility & contrast

On white

5.48
#9145C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#9145C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9145C2
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9145C2#FFFFFF#000000##FFFFFF
##9145C21.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#326ABF
Tritanopia (blue-blind)
#8A5E7D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9145c2;
/* rgb */ color: rgb(145, 69, 194);
/* oklch */ color: oklch(54.5% 0.192 309.4);
Tailwind
colors: {
  custom: {
    50: '#b57dd5',
    500: '#9145c2',
    950: '#000000',
  },
}
SCSS
$custom: #9145c2;
$custom-light: #b57dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#9145c2",
  "rgb": {
    "r": 145,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 276.48,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.54452,
    "c": 0.19215,
    "h": 309.4
  },
  "luminance": 0.14171
}

Semantic roles & 50–950 ramp

primary
#9145C2
secondary
#ABCD96
accent
#DA4E85
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9145C2

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

Preview Lab → · Contrast checker → · Palette generator →

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