#9241D8#9241D8

#9241D8 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.6% C 0.220 H 304.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9241D8
RGBrgb(146, 65, 216)
HSLhsl(272, 66%, 55%)
HSVhsv(272, 70%, 85%)
CMYKcmyk(32.4%, 69.9%, 0%, 15.3%)
CIE-LABlab(45.43, 60.37, -63.73)
CIE-LCHlch(45.43, 87.78, 313.45°)
OKLaboklab(55.63% 0.1253 -0.1812)
OKLCHoklch(55.63% 0.22 304.7)
XYZxyz(26.1362, 14.8496, 66.4418)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9241D8 #87D841
analogous
#4641D8 #9241D8 #D841D3
triadic
#9241D8 #D89241 #41D892
tetradic
#9241D8 #D84641 #87D841 #41D3D8
square
#9241D8 #D84641 #87D841 #41D3D8
split-complementary
#9241D8 #D3D841 #41D846
monochromatic
#531B84 #7325B6 #9241D8 #AF74E2 #CCA7ED

Accessibility & contrast

On white

5.29
#9241D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#9241D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9241D8
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9241D8#FFFFFF#000000##FFFFFF
##9241D81.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DC
Deuteranopia (green-blind)
#006CD5
Tritanopia (blue-blind)
#856488
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9241d8;
/* rgb */ color: rgb(146, 65, 216);
/* oklch */ color: oklch(55.6% 0.220 304.7);
Tailwind
colors: {
  custom: {
    50: '#b77ce5',
    500: '#9241d8',
    950: '#000000',
  },
}
SCSS
$custom: #9241d8;
$custom-light: #b77ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#9241d8",
  "rgb": {
    "r": 146,
    "g": 65,
    "b": 216
  },
  "hsl": {
    "h": 272.185,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55632,
    "c": 0.22026,
    "h": 304.7
  },
  "luminance": 0.14849
}

Semantic roles & 50–950 ramp

primary
#9241D8
secondary
#B8DA9B
accent
#E93F8E
background
#FBF7FE
surface
#F7EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9241D8

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

Preview Lab → · Contrast checker → · Palette generator →

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