#9456BC#9456BC

#9456BC is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.8% C 0.161 H 310.3°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#9456BC
RGBrgb(148, 86, 188)
HSLhsl(276, 43%, 54%)
HSVhsv(276, 54%, 74%)
CMYKcmyk(21.3%, 54.3%, 0%, 26.3%)
CIE-LABlab(47.73, 44.01, -43.88)
CIE-LCHlch(47.73, 62.15, 315.09°)
OKLaboklab(56.79% 0.1043 -0.123)
OKLCHoklch(56.79% 0.161 310.3)
XYZxyz(24.6159, 16.5828, 49.4712)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9456BC #7EBC56
analogous
#6156BC #9456BC #BC56B1
triadic
#9456BC #BC9456 #56BC94
tetradic
#9456BC #BC6156 #7EBC56 #56B1BC
square
#9456BC #BC6156 #7EBC56 #56B1BC
split-complementary
#9456BC #B1BC56 #56BC61
monochromatic
#532B6D #743C98 #9456BC #B082CD #CBAEDF

Accessibility & contrast

On white

4.87
#9456BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#9456BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9456BC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9456BC#FFFFFF#000000##FFFFFF
##9456BC1.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386EBF
Deuteranopia (green-blind)
#4D72B9
Tritanopia (blue-blind)
#8F6881
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9456bc;
/* rgb */ color: rgb(148, 86, 188);
/* oklch */ color: oklch(56.8% 0.161 310.3);
Tailwind
colors: {
  custom: {
    50: '#b688d1',
    500: '#9456bc',
    950: '#000000',
  },
}
SCSS
$custom: #9456bc;
$custom-light: #b688d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9456bc",
  "rgb": {
    "r": 148,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 276.471,
    "s": 43.22,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56789,
    "c": 0.16126,
    "h": 310.3
  },
  "luminance": 0.16582
}

Semantic roles & 50–950 ramp

primary
#9456BC
secondary
#B2CDA1
accent
#D35586
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #9456BC

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

Preview Lab → · Contrast checker → · Palette generator →

#9456BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva