#9456E1#9456E1

#9456E1 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.1% C 0.203 H 300.9°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9456E1
RGBrgb(148, 86, 225)
HSLhsl(267, 70%, 61%)
HSVhsv(267, 62%, 88%)
CMYKcmyk(34.2%, 61.8%, 0%, 11.8%)
CIE-LABlab(49.96, 52.78, -61.50)
CIE-LCHlch(49.96, 81.04, 310.63°)
OKLaboklab(59.14% 0.1044 -0.1746)
OKLCHoklch(59.14% 0.203 300.9)
XYZxyz(29.1279, 18.3876, 73.2341)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9456E1 #A3E156
analogous
#565DE1 #9456E1 #DA56E1
triadic
#9456E1 #E19456 #56E194
tetradic
#9456E1 #E1565D #A3E156 #56E1DA
square
#9456E1 #E1565D #A3E156 #56E1DA
split-complementary
#9456E1 #E1DA56 #5DE156
monochromatic
#571CA0 #7326D4 #9456E1 #B58AEA #D6BEF3

Accessibility & contrast

On white

4.49
#9456E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#9456E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9456E1
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9456E1#FFFFFF#000000##000000
##9456E11.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E5
Deuteranopia (green-blind)
#2476DE
Tritanopia (blue-blind)
#847494
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9456e1;
/* rgb */ color: rgb(148, 86, 225);
/* oklch */ color: oklch(59.1% 0.203 300.9);
Tailwind
colors: {
  custom: {
    50: '#b889eb',
    500: '#9456e1',
    950: '#000000',
  },
}
SCSS
$custom: #9456e1;
$custom-light: #b889eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9456e1",
  "rgb": {
    "r": 148,
    "g": 86,
    "b": 225
  },
  "hsl": {
    "h": 266.763,
    "s": 69.849,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59138,
    "c": 0.20347,
    "h": 300.9
  },
  "luminance": 0.18388
}

Semantic roles & 50–950 ramp

primary
#9456E1
secondary
#CCE4AF
accent
#D2147D
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9456E1

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

Preview Lab → · Contrast checker → · Palette generator →

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