#9246BB#9246BB

#9246BB is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.2% C 0.184 H 311.8°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#9246BB
RGBrgb(146, 70, 187)
HSLhsl(279, 46%, 50%)
HSVhsv(279, 63%, 73%)
CMYKcmyk(21.9%, 62.6%, 0%, 26.7%)
CIE-LABlab(44.35, 51.52, -48.70)
CIE-LCHlch(44.35, 70.90, 316.61°)
OKLaboklab(54.25% 0.1224 -0.1371)
OKLCHoklch(54.25% 0.184 311.8)
XYZxyz(23.0122, 14.0797, 48.5095)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9246BB #6FBB46
analogous
#5746BB #9246BB #BB46AA
triadic
#9246BB #BB9246 #46BB92
tetradic
#9246BB #BB5746 #6FBB46 #46AABB
square
#9246BB #BB5746 #6FBB46 #46AABB
split-complementary
#9246BB #AABB46 #46BB57
monochromatic
#4D2462 #6F358F #9246BB #AC73CB #C7A0DC

Accessibility & contrast

On white

5.50
#9246BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#9246BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9246BB
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9246BB#FFFFFF#000000##FFFFFF
##9246BB1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1365BF
Deuteranopia (green-blind)
#3C6AB8
Tritanopia (blue-blind)
#8D5C7A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9246bb;
/* rgb */ color: rgb(146, 70, 187);
/* oklch */ color: oklch(54.2% 0.184 311.8);
Tailwind
colors: {
  custom: {
    50: '#b57ed0',
    500: '#9246bb',
    950: '#000000',
  },
}
SCSS
$custom: #9246bb;
$custom-light: #b57ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#9246bb",
  "rgb": {
    "r": 146,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 278.974,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54245,
    "c": 0.18375,
    "h": 311.8
  },
  "luminance": 0.14079
}

Semantic roles & 50–950 ramp

primary
#9246BB
secondary
#A7C894
accent
#D65280
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9246BB

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

Preview Lab → · Contrast checker → · Palette generator →

#9246BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva