#7F37CC#7F37CC

#7F37CC is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.4% C 0.216 H 301.0°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7F37CC
RGBrgb(127, 55, 204)
HSLhsl(269, 59%, 51%)
HSVhsv(269, 73%, 80%)
CMYKcmyk(37.7%, 73%, 0%, 20%)
CIE-LABlab(40.58, 58.47, -64.81)
CIE-LCHlch(40.58, 87.28, 312.06°)
OKLaboklab(51.4% 0.1111 -0.1849)
OKLCHoklch(51.4% 0.216 301)
XYZxyz(21.0150, 11.6039, 58.2476)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F37CC #84CC37
analogous
#3739CC #7F37CC #C937CC
triadic
#7F37CC #CC7F37 #37CC7F
tetradic
#7F37CC #CC3739 #84CC37 #37CCC9
square
#7F37CC #CC3739 #84CC37 #37CCC9
split-complementary
#7F37CC #CCC937 #39CC37
monochromatic
#431C6D #61289E #7F37CC #9E68D8 #BD99E5

Accessibility & contrast

On white

6.32
#7F37CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7F37CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F37CC
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F37CC#FFFFFF#000000##FFFFFF
##7F37CC1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD0
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#6E5C7F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7f37cc;
/* rgb */ color: rgb(127, 55, 204);
/* oklch */ color: oklch(51.4% 0.216 301.0);
Tailwind
colors: {
  custom: {
    50: '#aa74dd',
    500: '#7f37cc',
    950: '#000000',
  },
}
SCSS
$custom: #7f37cc;
$custom-light: #aa74dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7f37cc",
  "rgb": {
    "r": 127,
    "g": 55,
    "b": 204
  },
  "hsl": {
    "h": 268.993,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51395,
    "c": 0.2157,
    "h": 301
  },
  "luminance": 0.11604
}

Semantic roles & 50–950 ramp

primary
#7F37CC
secondary
#B1D08E
accent
#E34597
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7F37CC

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

Preview Lab → · Contrast checker → · Palette generator →

#7F37CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva