#9456E8#9456E8

#9456E8 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.6% C 0.211 H 299.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9456E8
RGBrgb(148, 86, 232)
HSLhsl(265, 76%, 62%)
HSVhsv(265, 63%, 91%)
CMYKcmyk(36.2%, 62.9%, 0%, 9%)
CIE-LABlab(50.43, 54.50, -64.71)
CIE-LCHlch(50.43, 84.60, 310.11°)
OKLaboklab(59.62% 0.1039 -0.1841)
OKLCHoklch(59.62% 0.211 299.5)
XYZxyz(30.1024, 18.7774, 78.3667)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9456E8 #AAE856
analogous
#5661E8 #9456E8 #DD56E8
triadic
#9456E8 #E89456 #56E894
tetradic
#9456E8 #E85661 #AAE856 #56E8DD
square
#9456E8 #E85661 #AAE856 #56E8DD
split-complementary
#9456E8 #E8DD56 #61E856
monochromatic
#5717AC #7220E1 #9456E8 #B68CEF #D8C2F7

Accessibility & contrast

On white

4.42
#9456E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#9456E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9456E8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9456E8#FFFFFF#000000##000000
##9456E81.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078ED
Deuteranopia (green-blind)
#0F77E5
Tritanopia (blue-blind)
#817697
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9456e8;
/* rgb */ color: rgb(148, 86, 232);
/* oklch */ color: oklch(59.6% 0.211 299.5);
Tailwind
colors: {
  custom: {
    50: '#b989f0',
    500: '#9456e8',
    950: '#000000',
  },
}
SCSS
$custom: #9456e8;
$custom-light: #b989f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9456e8",
  "rgb": {
    "r": 148,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 265.479,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.5962,
    "c": 0.21138,
    "h": 299.5
  },
  "luminance": 0.18778
}

Semantic roles & 50–950 ramp

primary
#9456E8
secondary
#D1E8B2
accent
#D80D82
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9456E8

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

Preview Lab → · Contrast checker → · Palette generator →

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