#9746CA#9746CA

#9746CA is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.8% C 0.201 H 309.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9746CA
RGBrgb(151, 70, 202)
HSLhsl(277, 55%, 53%)
HSVhsv(277, 65%, 79%)
CMYKcmyk(25.2%, 65.3%, 0%, 20.8%)
CIE-LABlab(45.94, 55.97, -54.82)
CIE-LCHlch(45.94, 78.34, 315.59°)
OKLaboklab(55.84% 0.1281 -0.1549)
OKLCHoklch(55.84% 0.201 309.6)
XYZxyz(25.6112, 15.2244, 57.4551)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9746CA #79CA46
analogous
#5546CA #9746CA #CA46BB
triadic
#9746CA #CA9746 #46CA97
tetradic
#9746CA #CA5546 #79CA46 #46BBCA
square
#9746CA #CA5546 #79CA46 #46BBCA
split-complementary
#9746CA #BBCA46 #46CA55
monochromatic
#542174 #772FA4 #9746CA #B276D8 #CCA5E5

Accessibility & contrast

On white

5.19
#9746CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#9746CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9746CA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9746CA#FFFFFF#000000##FFFFFF
##9746CA1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#326EC7
Tritanopia (blue-blind)
#906182
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9746ca;
/* rgb */ color: rgb(151, 70, 202);
/* oklch */ color: oklch(55.8% 0.201 309.6);
Tailwind
colors: {
  custom: {
    50: '#ba7fdb',
    500: '#9746ca',
    950: '#000000',
  },
}
SCSS
$custom: #9746ca;
$custom-light: #ba7fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9746ca",
  "rgb": {
    "r": 151,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 276.818,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55836,
    "c": 0.20096,
    "h": 309.6
  },
  "luminance": 0.15224
}

Semantic roles & 50–950 ramp

primary
#9746CA
secondary
#AFD29A
accent
#DF4983
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9746CA

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

Preview Lab → · Contrast checker → · Palette generator →

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