#9740C0#9740C0

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

Color values

HEX#9740C0
RGBrgb(151, 64, 192)
HSLhsl(281, 50%, 50%)
HSVhsv(281, 67%, 75%)
CMYKcmyk(21.4%, 66.7%, 0%, 24.7%)
CIE-LABlab(44.31, 56.56, -51.65)
CIE-LCHlch(44.31, 76.59, 317.60°)
OKLaboklab(54.46% 0.1355 -0.1455)
OKLCHoklch(54.46% 0.199 313)
XYZxyz(24.1087, 14.0526, 51.3014)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9740C0 #69C040
analogous
#5740C0 #9740C0 #C040A9
triadic
#9740C0 #C09740 #40C097
tetradic
#9740C0 #C05740 #69C040 #40A9C0
square
#9740C0 #C05740 #69C040 #40A9C0
split-complementary
#9740C0 #A9C040 #40C057
monochromatic
#4F2164 #733092 #9740C0 #B06ECF #C99CDE

Accessibility & contrast

On white

5.51
#9740C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9740C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9740C0
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9740C0#FFFFFF#000000##FFFFFF
##9740C01.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C4
Deuteranopia (green-blind)
#376BBD
Tritanopia (blue-blind)
#935A7B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9740c0;
/* rgb */ color: rgb(151, 64, 192);
/* oklch */ color: oklch(54.5% 0.199 313.0);
Tailwind
colors: {
  custom: {
    50: '#b97bd4',
    500: '#9740c0',
    950: '#000000',
  },
}
SCSS
$custom: #9740c0;
$custom-light: #b97bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#9740c0",
  "rgb": {
    "r": 151,
    "g": 64,
    "b": 192
  },
  "hsl": {
    "h": 280.781,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54458,
    "c": 0.19885,
    "h": 313
  },
  "luminance": 0.14052
}

Semantic roles & 50–950 ramp

primary
#9740C0
secondary
#A4CB91
accent
#DA4E7B
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9740C0

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

Preview Lab → · Contrast checker → · Palette generator →

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