#9241E4#9241E4

#9241E4 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.5% C 0.232 H 302.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9241E4
RGBrgb(146, 65, 228)
HSLhsl(270, 75%, 57%)
HSVhsv(270, 71%, 89%)
CMYKcmyk(36%, 71.5%, 0%, 10.6%)
CIE-LABlab(46.30, 63.13, -69.14)
CIE-LCHlch(46.30, 93.63, 312.40°)
OKLaboklab(56.53% 0.1233 -0.1971)
OKLCHoklch(56.53% 0.232 302)
XYZxyz(27.7446, 15.4929, 74.9125)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9241E4 #93E441
analogous
#4142E4 #9241E4 #E341E4
triadic
#9241E4 #E49241 #41E492
tetradic
#9241E4 #E44142 #93E441 #41E4E3
square
#9241E4 #E44142 #93E441 #41E4E3
split-complementary
#9241E4 #E4E341 #42E441
monochromatic
#551595 #731DCB #9241E4 #B177EC #CFACF3

Accessibility & contrast

On white

5.12
#9241E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9241E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9241E4
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9241E4#FFFFFF#000000##FFFFFF
##9241E41.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE9
Deuteranopia (green-blind)
#006DE1
Tritanopia (blue-blind)
#81698F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9241e4;
/* rgb */ color: rgb(146, 65, 228);
/* oklch */ color: oklch(56.5% 0.232 302.0);
Tailwind
colors: {
  custom: {
    50: '#b87cee',
    500: '#9241e4',
    950: '#000000',
  },
}
SCSS
$custom: #9241e4;
$custom-light: #b87cee;
$custom-dark: #000000;
JSON
{
  "hex": "#9241e4",
  "rgb": {
    "r": 146,
    "g": 65,
    "b": 228
  },
  "hsl": {
    "h": 269.816,
    "s": 75.115,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56527,
    "c": 0.23246,
    "h": 302
  },
  "luminance": 0.15493
}

Semantic roles & 50–950 ramp

primary
#9241E4
secondary
#C1E19F
accent
#F23694
background
#FBF7FE
surface
#F7EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9241E4

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

Preview Lab → · Contrast checker → · Palette generator →

#9241E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva