#9546E2#9546E2

#9546E2 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.3% C 0.225 H 303.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9546E2
RGBrgb(149, 70, 226)
HSLhsl(270, 73%, 58%)
HSVhsv(270, 69%, 89%)
CMYKcmyk(34.1%, 69%, 0%, 11.4%)
CIE-LABlab(47.31, 61.00, -66.35)
CIE-LCHlch(47.31, 90.13, 312.60°)
OKLaboklab(57.28% 0.1228 -0.1888)
OKLCHoklch(57.28% 0.225 303)
XYZxyz(28.3088, 16.2609, 73.5840)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9546E2 #93E246
analogous
#4746E2 #9546E2 #E246E1
triadic
#9546E2 #E29546 #46E295
tetradic
#9546E2 #E24746 #93E246 #46E1E2
square
#9546E2 #E24746 #93E246 #46E1E2
split-complementary
#9546E2 #E1E246 #46E247
monochromatic
#581896 #7620CB #9546E2 #B37BEA #D2B0F3

Accessibility & contrast

On white

4.94
#9546E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#9546E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9546E2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9546E2#FFFFFF#000000##FFFFFF
##9546E21.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE7
Deuteranopia (green-blind)
#0070DF
Tritanopia (blue-blind)
#866B8F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9546e2;
/* rgb */ color: rgb(149, 70, 226);
/* oklch */ color: oklch(57.3% 0.225 303.0);
Tailwind
colors: {
  custom: {
    50: '#ba7fec',
    500: '#9546e2',
    950: '#000000',
  },
}
SCSS
$custom: #9546e2;
$custom-light: #ba7fec;
$custom-dark: #000000;
JSON
{
  "hex": "#9546e2",
  "rgb": {
    "r": 149,
    "g": 70,
    "b": 226
  },
  "hsl": {
    "h": 270.385,
    "s": 72.897,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57281,
    "c": 0.22522,
    "h": 303
  },
  "luminance": 0.16261
}

Semantic roles & 50–950 ramp

primary
#9546E2
secondary
#C1E1A3
accent
#F03893
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9546E2

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

Preview Lab → · Contrast checker → · Palette generator →

#9546E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva