#9546EF#9546EF

#9546EF is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.3% C 0.239 H 300.4°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9546EF
RGBrgb(149, 70, 239)
HSLhsl(268, 84%, 61%)
HSVhsv(268, 71%, 94%)
CMYKcmyk(37.7%, 70.7%, 0%, 6.3%)
CIE-LABlab(48.26, 64.05, -72.15)
CIE-LCHlch(48.26, 96.48, 311.60°)
OKLaboklab(58.25% 0.1207 -0.2058)
OKLCHoklch(58.25% 0.239 300.4)
XYZxyz(30.1607, 17.0016, 83.3373)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9546EF #A0EF46
analogous
#464BEF #9546EF #E946EF
triadic
#9546EF #EF9546 #46EF95
tetradic
#9546EF #EF464B #A0EF46 #46EFE9
square
#9546EF #EF464B #A0EF46 #46EFE9
split-complementary
#9546EF #EFE946 #4BEF46
monochromatic
#580FAC #7514E4 #9546EF #B57EF4 #D6B7F9

Accessibility & contrast

On white

4.77
#9546EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#9546EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9546EF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9546EF#FFFFFF#000000##FFFFFF
##9546EF1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F4
Deuteranopia (green-blind)
#0071EC
Tritanopia (blue-blind)
#817096
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9546ef;
/* rgb */ color: rgb(149, 70, 239);
/* oklch */ color: oklch(58.3% 0.239 300.4);
Tailwind
colors: {
  custom: {
    50: '#bb80f5',
    500: '#9546ef',
    950: '#000000',
  },
}
SCSS
$custom: #9546ef;
$custom-light: #bb80f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9546ef",
  "rgb": {
    "r": 149,
    "g": 70,
    "b": 239
  },
  "hsl": {
    "h": 268.047,
    "s": 84.08,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58252,
    "c": 0.2386,
    "h": 300.4
  },
  "luminance": 0.17002
}

Semantic roles & 50–950 ramp

primary
#9546EF
secondary
#CAE9A8
accent
#E1057A
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #9546EF

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

Preview Lab → · Contrast checker → · Palette generator →

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