#9241CB#9241CB

#9241CB is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.7% C 0.207 H 307.8°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#9241CB
RGBrgb(146, 65, 203)
HSLhsl(275, 57%, 53%)
HSVhsv(275, 68%, 80%)
CMYKcmyk(28.1%, 68%, 0%, 20.4%)
CIE-LABlab(44.52, 57.42, -57.72)
CIE-LCHlch(44.52, 81.42, 314.85°)
OKLaboklab(54.7% 0.127 -0.1635)
OKLCHoklch(54.7% 0.207 307.8)
XYZxyz(24.5216, 14.2037, 57.9381)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9241CB #7ACB41
analogous
#4D41CB #9241CB #CB41BF
triadic
#9241CB #CB9241 #41CB92
tetradic
#9241CB #CB4D41 #7ACB41 #41BFCB
square
#9241CB #CB4D41 #7ACB41 #41BFCB
split-complementary
#9241CB #BFCB41 #41CB4D
monochromatic
#501F72 #722CA2 #9241CB #AE71D8 #C9A1E5

Accessibility & contrast

On white

5.47
#9241CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#9241CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9241CB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9241CB#FFFFFF#000000##FFFFFF
##9241CB1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#216AC8
Tritanopia (blue-blind)
#895F81
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9241cb;
/* rgb */ color: rgb(146, 65, 203);
/* oklch */ color: oklch(54.7% 0.207 307.8);
Tailwind
colors: {
  custom: {
    50: '#b67cdc',
    500: '#9241cb',
    950: '#000000',
  },
}
SCSS
$custom: #9241cb;
$custom-light: #b67cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9241cb",
  "rgb": {
    "r": 146,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 275.217,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54701,
    "c": 0.20703,
    "h": 307.8
  },
  "luminance": 0.14203
}

Semantic roles & 50–950 ramp

primary
#9241CB
secondary
#AFD296
accent
#E04887
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9241CB

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

Preview Lab → · Contrast checker → · Palette generator →

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