#9746CE#9746CE

#9746CE is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.1% C 0.205 H 308.5°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9746CE
RGBrgb(151, 70, 206)
HSLhsl(276, 58%, 54%)
HSVhsv(276, 66%, 81%)
CMYKcmyk(26.7%, 66%, 0%, 19.2%)
CIE-LABlab(46.20, 56.85, -56.71)
CIE-LCHlch(46.20, 80.30, 315.07°)
OKLaboklab(56.1% 0.1278 -0.1604)
OKLCHoklch(56.1% 0.205 308.5)
XYZxyz(26.0910, 15.4163, 59.9817)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9746CE #7DCE46
analogous
#5346CE #9746CE #CE46C1
triadic
#9746CE #CE9746 #46CE97
tetradic
#9746CE #CE5346 #7DCE46 #46C1CE
square
#9746CE #CE5346 #7DCE46 #46C1CE
split-complementary
#9746CE #C1CE46 #46CE53
monochromatic
#552079 #772DAA #9746CE #B276DB #CDA7E8

Accessibility & contrast

On white

5.14
#9746CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9746CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9746CE
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9746CE#FFFFFF#000000##FFFFFF
##9746CE1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#2C6ECB
Tritanopia (blue-blind)
#8F6384
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9746ce;
/* rgb */ color: rgb(151, 70, 206);
/* oklch */ color: oklch(56.1% 0.205 308.5);
Tailwind
colors: {
  custom: {
    50: '#ba7fde',
    500: '#9746ce',
    950: '#000000',
  },
}
SCSS
$custom: #9746ce;
$custom-light: #ba7fde;
$custom-dark: #000000;
JSON
{
  "hex": "#9746ce",
  "rgb": {
    "r": 151,
    "g": 70,
    "b": 206
  },
  "hsl": {
    "h": 275.735,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56104,
    "c": 0.20508,
    "h": 308.5
  },
  "luminance": 0.15416
}

Semantic roles & 50–950 ramp

primary
#9746CE
secondary
#B2D59B
accent
#E14685
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9746CE

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

Preview Lab → · Contrast checker → · Palette generator →

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