#9746EF#9746EF

#9746EF is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.5% C 0.239 H 301.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9746EF
RGBrgb(151, 70, 239)
HSLhsl(269, 84%, 61%)
HSVhsv(269, 71%, 94%)
CMYKcmyk(36.8%, 70.7%, 0%, 6.3%)
CIE-LABlab(48.50, 64.40, -71.75)
CIE-LCHlch(48.50, 96.42, 311.91°)
OKLaboklab(58.47% 0.1234 -0.2046)
OKLCHoklch(58.47% 0.239 301.1)
XYZxyz(30.5288, 17.1914, 83.3545)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9746EF #9EEF46
analogous
#4649EF #9746EF #EB46EF
triadic
#9746EF #EF9746 #46EF97
tetradic
#9746EF #EF4649 #9EEF46 #46EFEB
square
#9746EF #EF4649 #9EEF46 #46EFEB
split-complementary
#9746EF #EFEB46 #49EF46
monochromatic
#5A0FAC #7814E4 #9746EF #B77EF4 #D6B7F9

Accessibility & contrast

On white

4.73
#9746EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9746EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9746EF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9746EF#FFFFFF#000000##FFFFFF
##9746EF1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9746ef;
/* rgb */ color: rgb(151, 70, 239);
/* oklch */ color: oklch(58.5% 0.239 301.1);
Tailwind
colors: {
  custom: {
    50: '#bc80f5',
    500: '#9746ef',
    950: '#000000',
  },
}
SCSS
$custom: #9746ef;
$custom-light: #bc80f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9746ef",
  "rgb": {
    "r": 151,
    "g": 70,
    "b": 239
  },
  "hsl": {
    "h": 268.757,
    "s": 84.08,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58473,
    "c": 0.23892,
    "h": 301.1
  },
  "luminance": 0.17192
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9746EF

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

Preview Lab → · Contrast checker → · Palette generator →

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