#9456ED#9456ED

#9456ED is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.0% C 0.217 H 298.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9456ED
RGBrgb(148, 86, 237)
HSLhsl(265, 81%, 63%)
HSVhsv(265, 64%, 93%)
CMYKcmyk(37.6%, 63.7%, 0%, 7.1%)
CIE-LABlab(50.76, 55.74, -66.97)
CIE-LCHlch(50.76, 87.13, 309.77°)
OKLaboklab(59.97% 0.1035 -0.1907)
OKLCHoklch(59.97% 0.217 298.5)
XYZxyz(30.8227, 19.0655, 82.1604)
Luminance0.1907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9456ED #AFED56
analogous
#5663ED #9456ED #E056ED
triadic
#9456ED #ED9456 #56ED94
tetradic
#9456ED #ED5663 #AFED56 #56EDE0
square
#9456ED #ED5663 #AFED56 #56EDE0
split-complementary
#9456ED #EDE056 #63ED56
monochromatic
#5613B5 #711FE7 #9456ED #B78DF3 #DAC5F9

Accessibility & contrast

On white

4.36
#9456ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#9456ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9456ED
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9456ED#FFFFFF#000000##000000
##9456ED1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F2
Deuteranopia (green-blind)
#0077EA
Tritanopia (blue-blind)
#7F789A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9456ed;
/* rgb */ color: rgb(148, 86, 237);
/* oklch */ color: oklch(60.0% 0.217 298.5);
Tailwind
colors: {
  custom: {
    50: '#b989f4',
    500: '#9456ed',
    950: '#000000',
  },
}
SCSS
$custom: #9456ed;
$custom-light: #b989f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9456ed",
  "rgb": {
    "r": 148,
    "g": 86,
    "b": 237
  },
  "hsl": {
    "h": 264.636,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59972,
    "c": 0.217,
    "h": 298.5
  },
  "luminance": 0.19066
}

Semantic roles & 50–950 ramp

primary
#9456ED
secondary
#D4EAB4
accent
#DD0886
background
#FBF8FF
surface
#F7F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #9456ED

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

Preview Lab → · Contrast checker → · Palette generator →

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