#9245BD#9245BD

#9245BD is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.2% C 0.187 H 311.3°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9245BD
RGBrgb(146, 69, 189)
HSLhsl(279, 48%, 51%)
HSVhsv(279, 63%, 74%)
CMYKcmyk(22.8%, 63.5%, 0%, 25.9%)
CIE-LABlab(44.29, 52.44, -49.96)
CIE-LCHlch(44.29, 72.43, 316.39°)
OKLaboklab(54.25% 0.1235 -0.1407)
OKLCHoklch(54.25% 0.187 311.3)
XYZxyz(23.1658, 14.0419, 49.6243)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9245BD #70BD45
analogous
#5645BD #9245BD #BD45AC
triadic
#9245BD #BD9245 #45BD92
tetradic
#9245BD #BD5645 #70BD45 #45ACBD
square
#9245BD #BD5645 #70BD45 #45ACBD
split-complementary
#9245BD #ACBD45 #45BD56
monochromatic
#4D2464 #703491 #9245BD #AC72CD #C79FDD

Accessibility & contrast

On white

5.51
#9245BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9245BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9245BD
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9245BD#FFFFFF#000000##FFFFFF
##9245BD1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0765C1
Deuteranopia (green-blind)
#396ABA
Tritanopia (blue-blind)
#8D5C7B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9245bd;
/* rgb */ color: rgb(146, 69, 189);
/* oklch */ color: oklch(54.2% 0.187 311.3);
Tailwind
colors: {
  custom: {
    50: '#b57dd1',
    500: '#9245bd',
    950: '#000000',
  },
}
SCSS
$custom: #9245bd;
$custom-light: #b57dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9245bd",
  "rgb": {
    "r": 146,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 278.5,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54245,
    "c": 0.18726,
    "h": 311.3
  },
  "luminance": 0.14041
}

Semantic roles & 50–950 ramp

primary
#9245BD
secondary
#A7CA94
accent
#D75181
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9245BD

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

Preview Lab → · Contrast checker → · Palette generator →

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