#9145DA#9145DA

#9145DA is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.1% C 0.217 H 303.4°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9145DA
RGBrgb(145, 69, 218)
HSLhsl(271, 67%, 56%)
HSVhsv(271, 68%, 85%)
CMYKcmyk(33.5%, 68.3%, 0%, 14.5%)
CIE-LABlab(46.09, 58.82, -63.80)
CIE-LCHlch(46.09, 86.78, 312.68°)
OKLaboklab(56.12% 0.1196 -0.1814)
OKLCHoklch(56.12% 0.217 303.4)
XYZxyz(26.4571, 15.3380, 67.8828)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9145DA #8EDA45
analogous
#4745DA #9145DA #DA45D9
triadic
#9145DA #DA9145 #45DA91
tetradic
#9145DA #DA4745 #8EDA45 #45D9DA
square
#9145DA #DA4745 #8EDA45 #45D9DA
split-complementary
#9145DA #D9DA45 #45DA47
monochromatic
#531B89 #7225BC #9145DA #AF78E4 #CDABEE

Accessibility & contrast

On white

5.16
#9145DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#9145DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9145DA
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9145DA#FFFFFF#000000##FFFFFF
##9145DA1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDE
Deuteranopia (green-blind)
#006DD7
Tritanopia (blue-blind)
#83678A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9145da;
/* rgb */ color: rgb(145, 69, 218);
/* oklch */ color: oklch(56.1% 0.217 303.4);
Tailwind
colors: {
  custom: {
    50: '#b77ee6',
    500: '#9145da',
    950: '#000000',
  },
}
SCSS
$custom: #9145da;
$custom-light: #b77ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#9145da",
  "rgb": {
    "r": 145,
    "g": 69,
    "b": 218
  },
  "hsl": {
    "h": 270.604,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56124,
    "c": 0.21731,
    "h": 303.4
  },
  "luminance": 0.15338
}

Semantic roles & 50–950 ramp

primary
#9145DA
secondary
#BDDC9F
accent
#EA3E92
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9145DA

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

Preview Lab → · Contrast checker → · Palette generator →

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