#9746CD#9746CD

#9746CD is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.0% C 0.204 H 308.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9746CD
RGBrgb(151, 70, 205)
HSLhsl(276, 57%, 54%)
HSVhsv(276, 66%, 80%)
CMYKcmyk(26.3%, 65.9%, 0%, 19.6%)
CIE-LABlab(46.13, 56.63, -56.24)
CIE-LCHlch(46.13, 79.81, 315.20°)
OKLaboklab(56.04% 0.1279 -0.159)
OKLCHoklch(56.04% 0.204 308.8)
XYZxyz(25.9699, 15.3678, 59.3440)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9746CD #7CCD46
analogous
#5446CD #9746CD #CD46C0
triadic
#9746CD #CD9746 #46CD97
tetradic
#9746CD #CD5446 #7CCD46 #46C0CD
square
#9746CD #CD5446 #7CCD46 #46C0CD
split-complementary
#9746CD #C0CD46 #46CD54
monochromatic
#552078 #772DA8 #9746CD #B276DA #CDA6E7

Accessibility & contrast

On white

5.16
#9746CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#9746CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9746CD
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9746CD#FFFFFF#000000##FFFFFF
##9746CD1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#2E6ECA
Tritanopia (blue-blind)
#8F6284
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9746cd;
/* rgb */ color: rgb(151, 70, 205);
/* oklch */ color: oklch(56.0% 0.204 308.8);
Tailwind
colors: {
  custom: {
    50: '#ba7fdd',
    500: '#9746cd',
    950: '#000000',
  },
}
SCSS
$custom: #9746cd;
$custom-light: #ba7fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#9746cd",
  "rgb": {
    "r": 151,
    "g": 70,
    "b": 205
  },
  "hsl": {
    "h": 276,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56037,
    "c": 0.20405,
    "h": 308.8
  },
  "luminance": 0.15367
}

Semantic roles & 50–950 ramp

primary
#9746CD
secondary
#B2D49B
accent
#E14785
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9746CD

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

Preview Lab → · Contrast checker → · Palette generator →

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