#9241CA#9241CA

#9241CA is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.6% C 0.206 H 308.1°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9241CA
RGBrgb(146, 65, 202)
HSLhsl(275, 56%, 52%)
HSVhsv(275, 68%, 79%)
CMYKcmyk(27.7%, 67.8%, 0%, 20.8%)
CIE-LABlab(44.46, 57.20, -57.25)
CIE-LCHlch(44.46, 80.93, 314.98°)
OKLaboklab(54.63% 0.1271 -0.1621)
OKLCHoklch(54.63% 0.206 308.1)
XYZxyz(24.4028, 14.1562, 57.3125)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9241CA #79CA41
analogous
#4D41CA #9241CA #CA41BE
triadic
#9241CA #CA9241 #41CA92
tetradic
#9241CA #CA4D41 #79CA41 #41BECA
square
#9241CA #CA4D41 #79CA41 #41BECA
split-complementary
#9241CA #BECA41 #41CA4D
monochromatic
#502071 #712DA1 #9241CA #AD71D7 #C9A1E5

Accessibility & contrast

On white

5.48
#9241CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#9241CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9241CA
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9241CA#FFFFFF#000000##FFFFFF
##9241CA1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#236AC7
Tritanopia (blue-blind)
#895F80
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9241ca;
/* rgb */ color: rgb(146, 65, 202);
/* oklch */ color: oklch(54.6% 0.206 308.1);
Tailwind
colors: {
  custom: {
    50: '#b67bdb',
    500: '#9241ca',
    950: '#000000',
  },
}
SCSS
$custom: #9241ca;
$custom-light: #b67bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9241ca",
  "rgb": {
    "r": 146,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 275.474,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54631,
    "c": 0.20601,
    "h": 308.1
  },
  "luminance": 0.14156
}

Semantic roles & 50–950 ramp

primary
#9241CA
secondary
#AED196
accent
#E04886
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9241CA

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

Preview Lab → · Contrast checker → · Palette generator →

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