#9746CB#9746CB

#9746CB is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.9% C 0.202 H 309.3°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9746CB
RGBrgb(151, 70, 203)
HSLhsl(277, 56%, 54%)
HSVhsv(277, 66%, 80%)
CMYKcmyk(25.6%, 65.5%, 0%, 20.4%)
CIE-LABlab(46.00, 56.19, -55.30)
CIE-LCHlch(46.00, 78.83, 315.46°)
OKLaboklab(55.9% 0.128 -0.1562)
OKLCHoklch(55.9% 0.202 309.3)
XYZxyz(25.7300, 15.2719, 58.0807)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9746CB #7ACB46
analogous
#5446CB #9746CB #CB46BD
triadic
#9746CB #CB9746 #46CB97
tetradic
#9746CB #CB5446 #7ACB46 #46BDCB
square
#9746CB #CB5446 #7ACB46 #46BDCB
split-complementary
#9746CB #BDCB46 #46CB54
monochromatic
#552176 #772EA5 #9746CB #B276D8 #CDA6E6

Accessibility & contrast

On white

5.18
#9746CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#9746CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9746CB
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9746CB#FFFFFF#000000##FFFFFF
##9746CB1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#316EC8
Tritanopia (blue-blind)
#906283
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9746cb;
/* rgb */ color: rgb(151, 70, 203);
/* oklch */ color: oklch(55.9% 0.202 309.3);
Tailwind
colors: {
  custom: {
    50: '#ba7fdc',
    500: '#9746cb',
    950: '#000000',
  },
}
SCSS
$custom: #9746cb;
$custom-light: #ba7fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9746cb",
  "rgb": {
    "r": 151,
    "g": 70,
    "b": 203
  },
  "hsl": {
    "h": 276.541,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55902,
    "c": 0.20199,
    "h": 309.3
  },
  "luminance": 0.15271
}

Semantic roles & 50–950 ramp

primary
#9746CB
secondary
#B0D39A
accent
#DF4883
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9746CB

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

Preview Lab → · Contrast checker → · Palette generator →

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