#9456E7#9456E7

#9456E7 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.6% C 0.210 H 299.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9456E7
RGBrgb(148, 86, 231)
HSLhsl(266, 75%, 62%)
HSVhsv(266, 63%, 91%)
CMYKcmyk(35.9%, 62.8%, 0%, 9.4%)
CIE-LABlab(50.36, 54.25, -64.25)
CIE-LCHlch(50.36, 84.09, 310.18°)
OKLaboklab(59.55% 0.104 -0.1827)
OKLCHoklch(59.55% 0.21 299.6)
XYZxyz(29.9608, 18.7207, 77.6208)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9456E7 #A9E756
analogous
#5661E7 #9456E7 #DD56E7
triadic
#9456E7 #E79456 #56E794
tetradic
#9456E7 #E75661 #A9E756 #56E7DD
square
#9456E7 #E75661 #A9E756 #56E7DD
split-complementary
#9456E7 #E7DD56 #61E756
monochromatic
#5718AA #7220DF #9456E7 #B68CEF #D8C1F6

Accessibility & contrast

On white

4.43
#9456E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#9456E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9456E7
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9456E7#FFFFFF#000000##000000
##9456E71.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#1377E4
Tritanopia (blue-blind)
#827697
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9456e7;
/* rgb */ color: rgb(148, 86, 231);
/* oklch */ color: oklch(59.6% 0.210 299.6);
Tailwind
colors: {
  custom: {
    50: '#b989ef',
    500: '#9456e7',
    950: '#000000',
  },
}
SCSS
$custom: #9456e7;
$custom-light: #b989ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9456e7",
  "rgb": {
    "r": 148,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 265.655,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59551,
    "c": 0.21025,
    "h": 299.6
  },
  "luminance": 0.18721
}

Semantic roles & 50–950 ramp

primary
#9456E7
secondary
#D0E7B2
accent
#D70E81
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9456E7

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

Preview Lab → · Contrast checker → · Palette generator →

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