#9145D3#9145D3

#9145D3 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.6% C 0.210 H 305.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9145D3
RGBrgb(145, 69, 211)
HSLhsl(272, 62%, 55%)
HSVhsv(272, 67%, 83%)
CMYKcmyk(31.3%, 67.3%, 0%, 17.3%)
CIE-LABlab(45.61, 57.19, -60.58)
CIE-LCHlch(45.61, 83.31, 313.35°)
OKLaboklab(55.62% 0.1205 -0.172)
OKLCHoklch(55.62% 0.21 305)
XYZxyz(25.5604, 14.9793, 63.1601)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9145D3 #87D345
analogous
#4A45D3 #9145D3 #D345CE
triadic
#9145D3 #D39145 #45D391
tetradic
#9145D3 #D34A45 #87D345 #45CED3
square
#9145D3 #D34A45 #87D345 #45CED3
split-complementary
#9145D3 #CED345 #45D34A
monochromatic
#521E7F #722AB1 #9145D3 #AE76DF #CCA8EA

Accessibility & contrast

On white

5.26
#9145D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#9145D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9145D3
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9145D3#FFFFFF#000000##FFFFFF
##9145D31.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD7
Deuteranopia (green-blind)
#136CD0
Tritanopia (blue-blind)
#856587
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9145d3;
/* rgb */ color: rgb(145, 69, 211);
/* oklch */ color: oklch(55.6% 0.210 305.0);
Tailwind
colors: {
  custom: {
    50: '#b67ee1',
    500: '#9145d3',
    950: '#000000',
  },
}
SCSS
$custom: #9145d3;
$custom-light: #b67ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#9145d3",
  "rgb": {
    "r": 145,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 272.113,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55621,
    "c": 0.20999,
    "h": 305
  },
  "luminance": 0.14979
}

Semantic roles & 50–950 ramp

primary
#9145D3
secondary
#B8D89C
accent
#E5438E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9145D3

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

Preview Lab → · Contrast checker → · Palette generator →

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