#9456CA#9456CA

#9456CA is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.6% C 0.177 H 306.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9456CA
RGBrgb(148, 86, 202)
HSLhsl(272, 52%, 56%)
HSVhsv(272, 57%, 79%)
CMYKcmyk(26.7%, 57.4%, 0%, 20.8%)
CIE-LABlab(48.53, 47.25, -50.69)
CIE-LCHlch(48.53, 69.29, 312.99°)
OKLaboklab(57.64% 0.1049 -0.1429)
OKLCHoklch(57.64% 0.177 306.3)
XYZxyz(26.1990, 17.2160, 57.8085)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9456CA #8CCA56
analogous
#5A56CA #9456CA #CA56C6
triadic
#9456CA #CA9456 #56CA94
tetradic
#9456CA #CA5A56 #8CCA56 #56C6CA
square
#9456CA #CA5A56 #8CCA56 #56C6CA
split-complementary
#9456CA #C6CA56 #56CA5A
monochromatic
#56287E #7536AD #9456CA #B185D9 #CFB3E7

Accessibility & contrast

On white

4.73
#9456CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9456CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9456CA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9456CA#FFFFFF#000000##FFFFFF
##9456CA1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2971CE
Deuteranopia (green-blind)
#4274C7
Tritanopia (blue-blind)
#8B6C88
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9456ca;
/* rgb */ color: rgb(148, 86, 202);
/* oklch */ color: oklch(57.6% 0.177 306.3);
Tailwind
colors: {
  custom: {
    50: '#b788db',
    500: '#9456ca',
    950: '#000000',
  },
}
SCSS
$custom: #9456ca;
$custom-light: #b788db;
$custom-dark: #000000;
JSON
{
  "hex": "#9456ca",
  "rgb": {
    "r": 148,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 272.069,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57636,
    "c": 0.17726,
    "h": 306.3
  },
  "luminance": 0.17216
}

Semantic roles & 50–950 ramp

primary
#9456CA
secondary
#BCD6A6
accent
#DC4C8F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9456CA

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

Preview Lab → · Contrast checker → · Palette generator →

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