#9456E5#9456E5

#9456E5 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.4% C 0.208 H 300.0°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9456E5
RGBrgb(148, 86, 229)
HSLhsl(266, 73%, 62%)
HSVhsv(266, 62%, 90%)
CMYKcmyk(35.4%, 62.4%, 0%, 10.2%)
CIE-LABlab(50.23, 53.76, -63.34)
CIE-LCHlch(50.23, 83.08, 310.32°)
OKLaboklab(59.41% 0.1042 -0.18)
OKLCHoklch(59.41% 0.208 300)
XYZxyz(29.6799, 18.6084, 76.1417)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9456E5 #A7E556
analogous
#5660E5 #9456E5 #DC56E5
triadic
#9456E5 #E59456 #56E594
tetradic
#9456E5 #E55660 #A7E556 #56E5DC
square
#9456E5 #E55660 #A7E556 #56E5DC
split-complementary
#9456E5 #E5DC56 #60E556
monochromatic
#571AA7 #7322DC #9456E5 #B68BED #D7C0F5

Accessibility & contrast

On white

4.45
#9456E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#9456E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9456E5
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9456E5#FFFFFF#000000##000000
##9456E51.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E9
Deuteranopia (green-blind)
#1A76E2
Tritanopia (blue-blind)
#827596
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9456e5;
/* rgb */ color: rgb(148, 86, 229);
/* oklch */ color: oklch(59.4% 0.208 300.0);
Tailwind
colors: {
  custom: {
    50: '#b889ee',
    500: '#9456e5',
    950: '#000000',
  },
}
SCSS
$custom: #9456e5;
$custom-light: #b889ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9456e5",
  "rgb": {
    "r": 148,
    "g": 86,
    "b": 229
  },
  "hsl": {
    "h": 266.014,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59412,
    "c": 0.20799,
    "h": 300
  },
  "luminance": 0.18609
}

Semantic roles & 50–950 ramp

primary
#9456E5
secondary
#CFE6B1
accent
#D51080
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9456E5

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

Preview Lab → · Contrast checker → · Palette generator →

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