#9746E2#9746E2

#9746E2 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.5% C 0.226 H 303.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9746E2
RGBrgb(151, 70, 226)
HSLhsl(271, 73%, 58%)
HSVhsv(271, 69%, 89%)
CMYKcmyk(33.2%, 69%, 0%, 11.4%)
CIE-LABlab(47.56, 61.39, -65.94)
CIE-LCHlch(47.56, 90.09, 312.95°)
OKLaboklab(57.51% 0.1255 -0.1875)
OKLCHoklch(57.51% 0.226 303.8)
XYZxyz(28.6770, 16.4507, 73.6013)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9746E2 #91E246
analogous
#4946E2 #9746E2 #E246DF
triadic
#9746E2 #E29746 #46E297
tetradic
#9746E2 #E24946 #91E246 #46DFE2
square
#9746E2 #E24946 #91E246 #46DFE2
split-complementary
#9746E2 #DFE246 #46E249
monochromatic
#591896 #7920CB #9746E2 #B57BEA #D2B0F3

Accessibility & contrast

On white

4.89
#9746E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#9746E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9746E2
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9746E2#FFFFFF#000000##FFFFFF
##9746E21.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE7
Deuteranopia (green-blind)
#0071DF
Tritanopia (blue-blind)
#886A8F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9746e2;
/* rgb */ color: rgb(151, 70, 226);
/* oklch */ color: oklch(57.5% 0.226 303.8);
Tailwind
colors: {
  custom: {
    50: '#bb7fec',
    500: '#9746e2',
    950: '#000000',
  },
}
SCSS
$custom: #9746e2;
$custom-light: #bb7fec;
$custom-dark: #000000;
JSON
{
  "hex": "#9746e2",
  "rgb": {
    "r": 151,
    "g": 70,
    "b": 226
  },
  "hsl": {
    "h": 271.154,
    "s": 72.897,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5751,
    "c": 0.22562,
    "h": 303.8
  },
  "luminance": 0.16451
}

Semantic roles & 50–950 ramp

primary
#9746E2
secondary
#C1E1A3
accent
#F03890
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9746E2

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

Preview Lab → · Contrast checker → · Palette generator →

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