#9746FF#9746FF

#9746FF is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.7% C 0.255 H 298.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#9746FF
RGBrgb(151, 70, 255)
HSLhsl(266, 100%, 64%)
HSVhsv(266, 73%, 100%)
CMYKcmyk(40.8%, 72.5%, 0%, 0%)
CIE-LABlab(49.71, 68.17, -78.72)
CIE-LCHlch(49.71, 104.13, 310.89°)
OKLaboklab(59.71% 0.1202 -0.2251)
OKLCHoklch(59.71% 0.255 298.1)
XYZxyz(32.9980, 18.1791, 96.3587)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9746FF #AEFF46
analogous
#4651FF #9746FF #F346FF
triadic
#9746FF #FF9746 #46FF97
tetradic
#9746FF #FF4651 #AEFF46 #46FFF3
square
#9746FF #FF4651 #AEFF46 #46FFF3
split-complementary
#9746FF #FFF346 #51FF46
monochromatic
#5900CB #7509FF #9746FF #B983FF #DCC0FF

Accessibility & contrast

On white

4.53
#9746FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#9746FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9746FF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9746FF#FFFFFF#000000##000000
##9746FF1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076FF
Deuteranopia (green-blind)
#0074FB
Tritanopia (blue-blind)
#7D769F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9746ff;
/* rgb */ color: rgb(151, 70, 255);
/* oklch */ color: oklch(59.7% 0.255 298.1);
Tailwind
colors: {
  custom: {
    50: '#be81ff',
    500: '#9746ff',
    950: '#000000',
  },
}
SCSS
$custom: #9746ff;
$custom-light: #be81ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9746ff",
  "rgb": {
    "r": 151,
    "g": 70,
    "b": 255
  },
  "hsl": {
    "h": 266.27,
    "s": 100,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59708,
    "c": 0.25517,
    "h": 298.1
  },
  "luminance": 0.1818
}

Semantic roles & 50–950 ramp

primary
#9746FF
secondary
#D4F1B0
accent
#E60081
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B18
muted
#827C86

Preview Lab

Preview with #9746FF

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

Preview Lab → · Contrast checker → · Palette generator →

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