#9245BB#9245BB

#9245BB is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.1% C 0.185 H 311.9°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#9245BB
RGBrgb(146, 69, 187)
HSLhsl(279, 46%, 50%)
HSVhsv(279, 63%, 73%)
CMYKcmyk(21.9%, 63.1%, 0%, 26.7%)
CIE-LABlab(44.17, 52.00, -48.99)
CIE-LCHlch(44.17, 71.44, 316.71°)
OKLaboklab(54.12% 0.1236 -0.1379)
OKLCHoklch(54.12% 0.185 311.9)
XYZxyz(22.9502, 13.9557, 48.4888)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9245BB #6EBB45
analogous
#5745BB #9245BB #BB45A9
triadic
#9245BB #BB9245 #45BB92
tetradic
#9245BB #BB5745 #6EBB45 #45A9BB
square
#9245BB #BB5745 #6EBB45 #45A9BB
split-complementary
#9245BB #A9BB45 #45BB57
monochromatic
#4C2462 #6F348F #9245BB #AC72CB #C79FDC

Accessibility & contrast

On white

5.54
#9245BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#9245BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9245BB
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9245BB#FFFFFF#000000##FFFFFF
##9245BB1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F65BF
Deuteranopia (green-blind)
#3B6AB8
Tritanopia (blue-blind)
#8D5C7A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9245bb;
/* rgb */ color: rgb(146, 69, 187);
/* oklch */ color: oklch(54.1% 0.185 311.9);
Tailwind
colors: {
  custom: {
    50: '#b57dd0',
    500: '#9245bb',
    950: '#000000',
  },
}
SCSS
$custom: #9245bb;
$custom-light: #b57dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9245bb",
  "rgb": {
    "r": 146,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 279.153,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54116,
    "c": 0.18516,
    "h": 311.9
  },
  "luminance": 0.13955
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9245BB

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

Preview Lab → · Contrast checker → · Palette generator →

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