#9245E1#9245E1

#9245E1 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.8% C 0.225 H 302.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9245E1
RGBrgb(146, 69, 225)
HSLhsl(270, 72%, 58%)
HSVhsv(270, 69%, 88%)
CMYKcmyk(35.1%, 69.3%, 0%, 11.8%)
CIE-LABlab(46.72, 60.65, -66.77)
CIE-LCHlch(46.72, 90.21, 312.25°)
OKLaboklab(56.75% 0.1199 -0.1901)
OKLCHoklch(56.75% 0.225 302.2)
XYZxyz(27.5696, 15.8034, 72.8175)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9245E1 #94E145
analogous
#4546E1 #9245E1 #E045E1
triadic
#9245E1 #E19245 #45E192
tetradic
#9245E1 #E14546 #94E145 #45E1E0
square
#9245E1 #E14546 #94E145 #45E1E0
split-complementary
#9245E1 #E1E045 #46E145
monochromatic
#551894 #7320C8 #9245E1 #B17AE9 #D0AEF2

Accessibility & contrast

On white

5.05
#9245E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#9245E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9245E1
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9245E1#FFFFFF#000000##FFFFFF
##9245E11.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE6
Deuteranopia (green-blind)
#006EDE
Tritanopia (blue-blind)
#826A8E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9245e1;
/* rgb */ color: rgb(146, 69, 225);
/* oklch */ color: oklch(56.8% 0.225 302.2);
Tailwind
colors: {
  custom: {
    50: '#b87eeb',
    500: '#9245e1',
    950: '#000000',
  },
}
SCSS
$custom: #9245e1;
$custom-light: #b87eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#9245e1",
  "rgb": {
    "r": 146,
    "g": 69,
    "b": 225
  },
  "hsl": {
    "h": 269.615,
    "s": 72.222,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56752,
    "c": 0.22479,
    "h": 302.2
  },
  "luminance": 0.15803
}

Semantic roles & 50–950 ramp

primary
#9245E1
secondary
#C1E0A2
accent
#EF3995
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9245E1

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

Preview Lab → · Contrast checker → · Palette generator →

#9245E1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva