#9145AF#9145AF

#9145AF is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.2% C 0.172 H 315.2°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9145AF
RGBrgb(145, 69, 175)
HSLhsl(283, 43%, 48%)
HSVhsv(283, 61%, 69%)
CMYKcmyk(17.1%, 60.6%, 0%, 31.4%)
CIE-LABlab(43.32, 49.17, -43.31)
CIE-LCHlch(43.32, 65.52, 318.62°)
OKLaboklab(53.24% 0.1224 -0.1213)
OKLCHoklch(53.24% 0.172 315.2)
XYZxyz(21.5418, 13.3718, 41.9954)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9145AF #63AF45
analogous
#5C45AF #9145AF #AF4598
triadic
#9145AF #AF9145 #45AF91
tetradic
#9145AF #AF5C45 #63AF45 #4598AF
square
#9145AF #AF5C45 #63AF45 #4598AF
split-complementary
#9145AF #98AF45 #45AF5C
monochromatic
#482257 #6D3483 #9145AF #AC6CC5 #C598D6

Accessibility & contrast

On white

5.72
#9145AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#9145AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9145AF
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9145AF#FFFFFF#000000##FFFFFF
##9145AF1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2462B2
Deuteranopia (green-blind)
#4468AC
Tritanopia (blue-blind)
#8F5873
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9145af;
/* rgb */ color: rgb(145, 69, 175);
/* oklch */ color: oklch(53.2% 0.172 315.2);
Tailwind
colors: {
  custom: {
    50: '#b47dc7',
    500: '#9145af',
    950: '#000000',
  },
}
SCSS
$custom: #9145af;
$custom-light: #b47dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9145af",
  "rgb": {
    "r": 145,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 283.019,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5324,
    "c": 0.17232,
    "h": 315.2
  },
  "luminance": 0.13371
}

Semantic roles & 50–950 ramp

primary
#9145AF
secondary
#9CC28D
accent
#D35578
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #9145AF

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

Preview Lab → · Contrast checker → · Palette generator →

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