#9241DF#9241DF

#9241DF is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 56.1% C 0.227 H 303.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9241DF
RGBrgb(146, 65, 223)
HSLhsl(271, 71%, 56%)
HSVhsv(271, 71%, 87%)
CMYKcmyk(34.5%, 70.9%, 0%, 12.5%)
CIE-LABlab(45.93, 61.98, -66.90)
CIE-LCHlch(45.93, 91.20, 312.81°)
OKLaboklab(56.15% 0.1242 -0.1905)
OKLCHoklch(56.15% 0.227 303.1)
XYZxyz(27.0605, 15.2193, 71.3097)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9241DF #8EDF41
analogous
#4341DF #9241DF #DF41DD
triadic
#9241DF #DF9241 #41DF92
tetradic
#9241DF #DF4341 #8EDF41 #41DDDF
square
#9241DF #DF4341 #8EDF41 #41DDDF
split-complementary
#9241DF #DDDF41 #41DF43
monochromatic
#54188E #7321C2 #9241DF #B075E8 #CEAAF1

Accessibility & contrast

On white

5.19
#9241DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#9241DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9241DF
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9241DF#FFFFFF#000000##FFFFFF
##9241DF1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE4
Deuteranopia (green-blind)
#006CDC
Tritanopia (blue-blind)
#82678C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9241df;
/* rgb */ color: rgb(146, 65, 223);
/* oklch */ color: oklch(56.1% 0.227 303.1);
Tailwind
colors: {
  custom: {
    50: '#b87cea',
    500: '#9241df',
    950: '#000000',
  },
}
SCSS
$custom: #9241df;
$custom-light: #b87cea;
$custom-dark: #000000;
JSON
{
  "hex": "#9241df",
  "rgb": {
    "r": 146,
    "g": 65,
    "b": 223
  },
  "hsl": {
    "h": 270.759,
    "s": 71.171,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5615,
    "c": 0.22739,
    "h": 303.1
  },
  "luminance": 0.15219
}

Semantic roles & 50–950 ramp

primary
#9241DF
secondary
#BDDE9D
accent
#EE3A92
background
#FBF7FE
surface
#F7EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9241DF

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

Preview Lab → · Contrast checker → · Palette generator →

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