#9145DE#9145DE

#9145DE is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.4% C 0.221 H 302.5°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#9145DE
RGBrgb(145, 69, 222)
HSLhsl(270, 70%, 57%)
HSVhsv(270, 69%, 87%)
CMYKcmyk(34.7%, 68.9%, 0%, 12.9%)
CIE-LABlab(46.38, 59.76, -65.62)
CIE-LCHlch(46.38, 88.75, 312.32°)
OKLaboklab(56.42% 0.1191 -0.1868)
OKLCHoklch(56.42% 0.221 302.5)
XYZxyz(26.9869, 15.5499, 70.6727)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9145DE #92DE45
analogous
#4546DE #9145DE #DE45DE
triadic
#9145DE #DE9145 #45DE91
tetradic
#9145DE #DE4546 #92DE45 #45DEDE
square
#9145DE #DE4546 #92DE45 #45DEDE
split-complementary
#9145DE #DEDE45 #46DE45
monochromatic
#54198F #7223C3 #9145DE #B079E7 #CEADF0

Accessibility & contrast

On white

5.11
#9145DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#9145DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9145DE
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9145DE#FFFFFF#000000##FFFFFF
##9145DE1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE3
Deuteranopia (green-blind)
#006DDB
Tritanopia (blue-blind)
#81698D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9145de;
/* rgb */ color: rgb(145, 69, 222);
/* oklch */ color: oklch(56.4% 0.221 302.5);
Tailwind
colors: {
  custom: {
    50: '#b77ee9',
    500: '#9145de',
    950: '#000000',
  },
}
SCSS
$custom: #9145de;
$custom-light: #b77ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#9145de",
  "rgb": {
    "r": 145,
    "g": 69,
    "b": 222
  },
  "hsl": {
    "h": 269.804,
    "s": 69.863,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56417,
    "c": 0.22149,
    "h": 302.5
  },
  "luminance": 0.1555
}

Semantic roles & 50–950 ramp

primary
#9145DE
secondary
#C0DFA0
accent
#ED3B94
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9145DE

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

Preview Lab → · Contrast checker → · Palette generator →

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