#9456E4#9456E4

#9456E4 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.3% C 0.207 H 300.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9456E4
RGBrgb(148, 86, 228)
HSLhsl(266, 72%, 62%)
HSVhsv(266, 62%, 89%)
CMYKcmyk(35.1%, 62.3%, 0%, 10.6%)
CIE-LABlab(50.16, 53.51, -62.88)
CIE-LCHlch(50.16, 82.57, 310.40°)
OKLaboklab(59.34% 0.1042 -0.1787)
OKLCHoklch(59.34% 0.207 300.3)
XYZxyz(29.5407, 18.5527, 75.4084)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9456E4 #A6E456
analogous
#565FE4 #9456E4 #DB56E4
triadic
#9456E4 #E49456 #56E494
tetradic
#9456E4 #E4565F #A6E456 #56E4DB
square
#9456E4 #E4565F #A6E456 #56E4DB
split-complementary
#9456E4 #E4DB56 #5FE456
monochromatic
#571AA5 #7323DA #9456E4 #B58BEC #D7C0F5

Accessibility & contrast

On white

4.46
#9456E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#9456E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9456E4
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9456E4#FFFFFF#000000##000000
##9456E41.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E8
Deuteranopia (green-blind)
#1D76E1
Tritanopia (blue-blind)
#837595
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9456e4;
/* rgb */ color: rgb(148, 86, 228);
/* oklch */ color: oklch(59.3% 0.207 300.3);
Tailwind
colors: {
  custom: {
    50: '#b889ed',
    500: '#9456e4',
    950: '#000000',
  },
}
SCSS
$custom: #9456e4;
$custom-light: #b889ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9456e4",
  "rgb": {
    "r": 148,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 266.197,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59343,
    "c": 0.20686,
    "h": 300.3
  },
  "luminance": 0.18553
}

Semantic roles & 50–950 ramp

primary
#9456E4
secondary
#CEE5B0
accent
#D5117F
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9456E4

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

Preview Lab → · Contrast checker → · Palette generator →

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