#9740C3#9740C3

#9740C3 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.7% C 0.202 H 312.1°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#9740C3
RGBrgb(151, 64, 195)
HSLhsl(280, 52%, 51%)
HSVhsv(280, 67%, 76%)
CMYKcmyk(22.6%, 67.2%, 0%, 23.5%)
CIE-LABlab(44.50, 57.19, -53.09)
CIE-LCHlch(44.50, 78.03, 317.13°)
OKLaboklab(54.66% 0.1353 -0.1497)
OKLCHoklch(54.66% 0.202 312.1)
XYZxyz(24.4444, 14.1869, 53.0698)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9740C3 #6CC340
analogous
#5540C3 #9740C3 #C340AD
triadic
#9740C3 #C39740 #40C397
tetradic
#9740C3 #C35540 #6CC340 #40ADC3
square
#9740C3 #C35540 #6CC340 #40ADC3
split-complementary
#9740C3 #ADC340 #40C355
monochromatic
#502168 #742F97 #9740C3 #B06FD2 #CA9DE0

Accessibility & contrast

On white

5.47
#9740C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#9740C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9740C3
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9740C3#FFFFFF#000000##FFFFFF
##9740C31.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C7
Deuteranopia (green-blind)
#336BC0
Tritanopia (blue-blind)
#925B7C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9740c3;
/* rgb */ color: rgb(151, 64, 195);
/* oklch */ color: oklch(54.7% 0.202 312.1);
Tailwind
colors: {
  custom: {
    50: '#b97bd6',
    500: '#9740c3',
    950: '#000000',
  },
}
SCSS
$custom: #9740c3;
$custom-light: #b97bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#9740c3",
  "rgb": {
    "r": 151,
    "g": 64,
    "b": 195
  },
  "hsl": {
    "h": 279.847,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54657,
    "c": 0.20181,
    "h": 312.1
  },
  "luminance": 0.14186
}

Semantic roles & 50–950 ramp

primary
#9740C3
secondary
#A6CC92
accent
#DC4C7C
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9740C3

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

Preview Lab → · Contrast checker → · Palette generator →

#9740C3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva