#9241DC#9241DC

#9241DC is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.9% C 0.224 H 303.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9241DC
RGBrgb(146, 65, 220)
HSLhsl(271, 69%, 56%)
HSVhsv(271, 70%, 86%)
CMYKcmyk(33.6%, 70.5%, 0%, 13.7%)
CIE-LABlab(45.71, 61.28, -65.55)
CIE-LCHlch(45.71, 89.73, 313.07°)
OKLaboklab(55.93% 0.1247 -0.1865)
OKLCHoklch(55.93% 0.224 303.8)
XYZxyz(26.6596, 15.0589, 69.1984)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9241DC #8BDC41
analogous
#4441DC #9241DC #DC41D8
triadic
#9241DC #DC9241 #41DC92
tetradic
#9241DC #DC4441 #8BDC41 #41D8DC
square
#9241DC #DC4441 #8BDC41 #41D8DC
split-complementary
#9241DC #D8DC41 #41DC44
monochromatic
#541989 #7323BD #9241DC #B075E6 #CDA8EF

Accessibility & contrast

On white

5.23
#9241DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#9241DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9241DC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9241DC#FFFFFF#000000##FFFFFF
##9241DC1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE1
Deuteranopia (green-blind)
#006CD9
Tritanopia (blue-blind)
#84668A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9241dc;
/* rgb */ color: rgb(146, 65, 220);
/* oklch */ color: oklch(55.9% 0.224 303.8);
Tailwind
colors: {
  custom: {
    50: '#b87ce8',
    500: '#9241dc',
    950: '#000000',
  },
}
SCSS
$custom: #9241dc;
$custom-light: #b87ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#9241dc",
  "rgb": {
    "r": 146,
    "g": 65,
    "b": 220
  },
  "hsl": {
    "h": 271.355,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55926,
    "c": 0.22433,
    "h": 303.8
  },
  "luminance": 0.15059
}

Semantic roles & 50–950 ramp

primary
#9241DC
secondary
#BBDD9C
accent
#EC3C90
background
#FBF7FE
surface
#F7EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9241DC

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

Preview Lab → · Contrast checker → · Palette generator →

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