#9145D5#9145D5

#9145D5 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.8% C 0.212 H 304.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9145D5
RGBrgb(145, 69, 213)
HSLhsl(272, 63%, 55%)
HSVhsv(272, 68%, 84%)
CMYKcmyk(31.9%, 67.6%, 0%, 16.5%)
CIE-LABlab(45.74, 57.66, -61.50)
CIE-LCHlch(45.74, 84.30, 313.15°)
OKLaboklab(55.76% 0.1203 -0.1747)
OKLCHoklch(55.76% 0.212 304.5)
XYZxyz(25.8127, 15.0802, 64.4888)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9145D5 #89D545
analogous
#4945D5 #9145D5 #D545D1
triadic
#9145D5 #D59145 #45D591
tetradic
#9145D5 #D54945 #89D545 #45D1D5
square
#9145D5 #D54945 #89D545 #45D1D5
split-complementary
#9145D5 #D1D545 #45D549
monochromatic
#531D82 #7229B4 #9145D5 #AF77E0 #CCA9EC

Accessibility & contrast

On white

5.23
#9145D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#9145D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9145D5
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9145D5#FFFFFF#000000##FFFFFF
##9145D51.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD9
Deuteranopia (green-blind)
#0C6CD2
Tritanopia (blue-blind)
#846588
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9145d5;
/* rgb */ color: rgb(145, 69, 213);
/* oklch */ color: oklch(55.8% 0.212 304.5);
Tailwind
colors: {
  custom: {
    50: '#b67ee3',
    500: '#9145d5',
    950: '#000000',
  },
}
SCSS
$custom: #9145d5;
$custom-light: #b67ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#9145d5",
  "rgb": {
    "r": 145,
    "g": 69,
    "b": 213
  },
  "hsl": {
    "h": 271.667,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55764,
    "c": 0.21207,
    "h": 304.5
  },
  "luminance": 0.1508
}

Semantic roles & 50–950 ramp

primary
#9145D5
secondary
#B9D99D
accent
#E6428F
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A15
muted
#817C84

Preview Lab

Preview with #9145D5

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

Preview Lab → · Contrast checker → · Palette generator →

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