#9456F2#9456F2

#9456F2 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.3% C 0.223 H 297.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#9456F2
RGBrgb(148, 86, 242)
HSLhsl(264, 86%, 64%)
HSVhsv(264, 64%, 95%)
CMYKcmyk(38.8%, 64.5%, 0%, 5.1%)
CIE-LABlab(51.11, 56.99, -69.21)
CIE-LCHlch(51.11, 89.66, 309.47°)
OKLaboklab(60.33% 0.103 -0.1973)
OKLCHoklch(60.33% 0.223 297.6)
XYZxyz(31.5634, 19.3618, 86.0614)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9456F2 #B4F256
analogous
#5666F2 #9456F2 #E256F2
triadic
#9456F2 #F29456 #56F294
tetradic
#9456F2 #F25666 #B4F256 #56F2E2
square
#9456F2 #F25666 #B4F256 #56F2E2
split-complementary
#9456F2 #F2E256 #66F256
monochromatic
#550FBF #701DEE #9456F2 #B88FF6 #DCC8FB

Accessibility & contrast

On white

4.31
#9456F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#9456F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9456F2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9456F2#FFFFFF#000000##000000
##9456F21.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF7
Deuteranopia (green-blind)
#0078EF
Tritanopia (blue-blind)
#7D7A9D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9456f2;
/* rgb */ color: rgb(148, 86, 242);
/* oklch */ color: oklch(60.3% 0.223 297.6);
Tailwind
colors: {
  custom: {
    50: '#ba89f7',
    500: '#9456f2',
    950: '#000000',
  },
}
SCSS
$custom: #9456f2;
$custom-light: #ba89f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9456f2",
  "rgb": {
    "r": 148,
    "g": 86,
    "b": 242
  },
  "hsl": {
    "h": 263.846,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60329,
    "c": 0.22259,
    "h": 297.6
  },
  "luminance": 0.19362
}

Semantic roles & 50–950 ramp

primary
#9456F2
secondary
#D7EDB7
accent
#E2038A
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #9456F2

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

Preview Lab → · Contrast checker → · Palette generator →

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