#9740C2#9740C2

#9740C2 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.6% C 0.201 H 312.4°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#9740C2
RGBrgb(151, 64, 194)
HSLhsl(280, 52%, 51%)
HSVhsv(280, 67%, 76%)
CMYKcmyk(22.2%, 67%, 0%, 23.9%)
CIE-LABlab(44.44, 56.98, -52.61)
CIE-LCHlch(44.44, 77.55, 317.29°)
OKLaboklab(54.59% 0.1354 -0.1483)
OKLCHoklch(54.59% 0.201 312.4)
XYZxyz(24.3318, 14.1418, 52.4764)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9740C2 #6BC240
analogous
#5640C2 #9740C2 #C240AC
triadic
#9740C2 #C29740 #40C297
tetradic
#9740C2 #C25640 #6BC240 #40ACC2
square
#9740C2 #C25640 #6BC240 #40ACC2
split-complementary
#9740C2 #ACC240 #40C256
monochromatic
#502167 #743095 #9740C2 #B06ED1 #CA9DE0

Accessibility & contrast

On white

5.49
#9740C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#9740C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9740C2
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9740C2#FFFFFF#000000##FFFFFF
##9740C21.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#346BBF
Tritanopia (blue-blind)
#925A7C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9740c2;
/* rgb */ color: rgb(151, 64, 194);
/* oklch */ color: oklch(54.6% 0.201 312.4);
Tailwind
colors: {
  custom: {
    50: '#b97bd5',
    500: '#9740c2',
    950: '#000000',
  },
}
SCSS
$custom: #9740c2;
$custom-light: #b97bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#9740c2",
  "rgb": {
    "r": 151,
    "g": 64,
    "b": 194
  },
  "hsl": {
    "h": 280.154,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54591,
    "c": 0.20083,
    "h": 312.4
  },
  "luminance": 0.14141
}

Semantic roles & 50–950 ramp

primary
#9740C2
secondary
#A5CC92
accent
#DB4D7C
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9740C2

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

Preview Lab → · Contrast checker → · Palette generator →

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