#9456F9#9456F9

#9456F9 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.8% C 0.230 H 296.3°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9456F9
RGBrgb(148, 86, 249)
HSLhsl(263, 93%, 66%)
HSVhsv(263, 65%, 98%)
CMYKcmyk(40.6%, 65.5%, 0%, 2.4%)
CIE-LABlab(51.60, 58.74, -72.32)
CIE-LCHlch(51.60, 93.18, 309.08°)
OKLaboklab(60.84% 0.1022 -0.2065)
OKLCHoklch(60.84% 0.23 296.3)
XYZxyz(32.6349, 19.7904, 91.7047)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9456F9 #BBF956
analogous
#5669F9 #9456F9 #E556F9
triadic
#9456F9 #F99456 #56F994
tetradic
#9456F9 #F95669 #BBF956 #56F9E5
square
#9456F9 #F95669 #BBF956 #56F9E5
split-complementary
#9456F9 #F9E556 #69F956
monochromatic
#5307CD #6F1BF7 #9456F9 #B991FB #DFCCFD

Accessibility & contrast

On white

4.24
#9456F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#9456F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9456F9
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9456F9#FFFFFF#000000##000000
##9456F91.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFE
Deuteranopia (green-blind)
#0079F6
Tritanopia (blue-blind)
#7A7CA0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9456f9;
/* rgb */ color: rgb(148, 86, 249);
/* oklch */ color: oklch(60.8% 0.230 296.3);
Tailwind
colors: {
  custom: {
    50: '#ba89fc',
    500: '#9456f9',
    950: '#000000',
  },
}
SCSS
$custom: #9456f9;
$custom-light: #ba89fc;
$custom-dark: #000000;
JSON
{
  "hex": "#9456f9",
  "rgb": {
    "r": 148,
    "g": 86,
    "b": 249
  },
  "hsl": {
    "h": 262.822,
    "s": 93.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60837,
    "c": 0.23038,
    "h": 296.3
  },
  "luminance": 0.19791
}

Semantic roles & 50–950 ramp

primary
#9456F9
secondary
#DCF1BA
accent
#E6008E
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #9456F9

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

Preview Lab → · Contrast checker → · Palette generator →

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