#9145E2#9145E2

#9145E2 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.7% C 0.226 H 301.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9145E2
RGBrgb(145, 69, 226)
HSLhsl(269, 73%, 58%)
HSVhsv(269, 69%, 89%)
CMYKcmyk(35.8%, 69.5%, 0%, 11.4%)
CIE-LABlab(46.67, 60.70, -67.42)
CIE-LCHlch(46.67, 90.72, 312.00°)
OKLaboklab(56.71% 0.1184 -0.1921)
OKLCHoklch(56.71% 0.226 301.7)
XYZxyz(27.5293, 15.7669, 73.5297)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9145E2 #96E245
analogous
#4547E2 #9145E2 #E045E2
triadic
#9145E2 #E29145 #45E291
tetradic
#9145E2 #E24547 #96E245 #45E2E0
square
#9145E2 #E24547 #96E245 #45E2E0
split-complementary
#9145E2 #E2E045 #47E245
monochromatic
#541795 #7220CA #9145E2 #B07AEA #D0AFF3

Accessibility & contrast

On white

5.06
#9145E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#9145E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9145E2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9145E2#FFFFFF#000000##FFFFFF
##9145E21.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#006EDF
Tritanopia (blue-blind)
#806A8F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9145e2;
/* rgb */ color: rgb(145, 69, 226);
/* oklch */ color: oklch(56.7% 0.226 301.7);
Tailwind
colors: {
  custom: {
    50: '#b77eec',
    500: '#9145e2',
    950: '#000000',
  },
}
SCSS
$custom: #9145e2;
$custom-light: #b77eec;
$custom-dark: #000000;
JSON
{
  "hex": "#9145e2",
  "rgb": {
    "r": 145,
    "g": 69,
    "b": 226
  },
  "hsl": {
    "h": 269.045,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.56714,
    "c": 0.22565,
    "h": 301.7
  },
  "luminance": 0.15767
}

Semantic roles & 50–950 ramp

primary
#9145E2
secondary
#C2E1A2
accent
#F03897
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9145E2

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

Preview Lab → · Contrast checker → · Palette generator →

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