#9740C1#9740C1

#9740C1 is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.5% C 0.200 H 312.7°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#9740C1
RGBrgb(151, 64, 193)
HSLhsl(280, 51%, 50%)
HSVhsv(280, 67%, 76%)
CMYKcmyk(21.8%, 66.8%, 0%, 24.3%)
CIE-LABlab(44.37, 56.77, -52.13)
CIE-LCHlch(44.37, 77.07, 317.44°)
OKLaboklab(54.52% 0.1355 -0.1469)
OKLCHoklch(54.52% 0.2 312.7)
XYZxyz(24.2198, 14.0970, 51.8869)
Luminance0.1410 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9740C1 #6AC140
analogous
#5640C1 #9740C1 #C140AA
triadic
#9740C1 #C19740 #40C197
tetradic
#9740C1 #C15640 #6AC140 #40AAC1
square
#9740C1 #C15640 #6AC140 #40AAC1
split-complementary
#9740C1 #AAC140 #40C156
monochromatic
#4F2166 #733094 #9740C1 #B06ED0 #C99CDF

Accessibility & contrast

On white

5.50
#9740C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#9740C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9740C1
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9740C1#FFFFFF#000000##FFFFFF
##9740C11.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C5
Deuteranopia (green-blind)
#356BBE
Tritanopia (blue-blind)
#925A7B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9740c1;
/* rgb */ color: rgb(151, 64, 193);
/* oklch */ color: oklch(54.5% 0.200 312.7);
Tailwind
colors: {
  custom: {
    50: '#b97bd4',
    500: '#9740c1',
    950: '#000000',
  },
}
SCSS
$custom: #9740c1;
$custom-light: #b97bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#9740c1",
  "rgb": {
    "r": 151,
    "g": 64,
    "b": 193
  },
  "hsl": {
    "h": 280.465,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54524,
    "c": 0.19984,
    "h": 312.7
  },
  "luminance": 0.14096
}

Semantic roles & 50–950 ramp

primary
#9740C1
secondary
#A4CB92
accent
#DA4D7B
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9740C1

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

Preview Lab → · Contrast checker → · Palette generator →

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