#9740CF#9740CF

#9740CF is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.5% C 0.214 H 308.9°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9740CF
RGBrgb(151, 64, 207)
HSLhsl(277, 60%, 53%)
HSVhsv(277, 69%, 81%)
CMYKcmyk(27.1%, 69.1%, 0%, 18.8%)
CIE-LABlab(45.29, 59.79, -58.75)
CIE-LCHlch(45.29, 83.82, 315.50°)
OKLaboklab(55.48% 0.1341 -0.1664)
OKLCHoklch(55.48% 0.214 308.9)
XYZxyz(25.8561, 14.7515, 60.5046)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9740CF #78CF40
analogous
#4F40CF #9740CF #CF40C0
triadic
#9740CF #CF9740 #40CF97
tetradic
#9740CF #CF4F40 #78CF40 #40C0CF
square
#9740CF #CF4F40 #78CF40 #40C0CF
split-complementary
#9740CF #C0CF40 #40CF4F
monochromatic
#541E77 #772AA8 #9740CF #B271DB #CCA2E8

Accessibility & contrast

On white

5.32
#9740CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#9740CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9740CF
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9740CF#FFFFFF#000000##FFFFFF
##9740CF1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#216CCC
Tritanopia (blue-blind)
#8F5F83
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9740cf;
/* rgb */ color: rgb(151, 64, 207);
/* oklch */ color: oklch(55.5% 0.214 308.9);
Tailwind
colors: {
  custom: {
    50: '#ba7cde',
    500: '#9740cf',
    950: '#000000',
  },
}
SCSS
$custom: #9740cf;
$custom-light: #ba7cde;
$custom-dark: #000000;
JSON
{
  "hex": "#9740cf",
  "rgb": {
    "r": 151,
    "g": 64,
    "b": 207
  },
  "hsl": {
    "h": 276.503,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55476,
    "c": 0.2137,
    "h": 308.9
  },
  "luminance": 0.14751
}

Semantic roles & 50–950 ramp

primary
#9740CF
secondary
#AFD497
accent
#E34583
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9740CF

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

Preview Lab → · Contrast checker → · Palette generator →

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