#9145E6#9145E6

#9145E6 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 57.0% C 0.230 H 300.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#9145E6
RGBrgb(145, 69, 230)
HSLhsl(268, 76%, 59%)
HSVhsv(268, 70%, 90%)
CMYKcmyk(37%, 70%, 0%, 9.8%)
CIE-LABlab(46.96, 61.65, -69.21)
CIE-LCHlch(46.96, 92.69, 311.69°)
OKLaboklab(57.01% 0.1178 -0.1973)
OKLCHoklch(57.01% 0.23 300.8)
XYZxyz(28.0846, 15.9890, 76.4541)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9145E6 #9AE645
analogous
#4549E6 #9145E6 #E145E6
triadic
#9145E6 #E69145 #45E691
tetradic
#9145E6 #E64549 #9AE645 #45E6E1
square
#9145E6 #E64549 #9AE645 #45E6E1
split-complementary
#9145E6 #E6E145 #49E645
monochromatic
#55159C #721CD2 #9145E6 #B17BED #D1B1F5

Accessibility & contrast

On white

5.00
#9145E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#9145E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9145E6
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9145E6#FFFFFF#000000##FFFFFF
##9145E61.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEB
Deuteranopia (green-blind)
#006EE3
Tritanopia (blue-blind)
#7E6C91
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9145e6;
/* rgb */ color: rgb(145, 69, 230);
/* oklch */ color: oklch(57.0% 0.230 300.8);
Tailwind
colors: {
  custom: {
    50: '#b87fef',
    500: '#9145e6',
    950: '#000000',
  },
}
SCSS
$custom: #9145e6;
$custom-light: #b87fef;
$custom-dark: #000000;
JSON
{
  "hex": "#9145e6",
  "rgb": {
    "r": 145,
    "g": 69,
    "b": 230
  },
  "hsl": {
    "h": 268.323,
    "s": 76.303,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57014,
    "c": 0.22981,
    "h": 300.8
  },
  "luminance": 0.15989
}

Semantic roles & 50–950 ramp

primary
#9145E6
secondary
#C5E3A4
accent
#F33599
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120A17
muted
#817C85

Preview Lab

Preview with #9145E6

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

Preview Lab → · Contrast checker → · Palette generator →

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