#7F37CA#7F37CA

#7F37CA is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.2% C 0.214 H 301.4°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#7F37CA
RGBrgb(127, 55, 202)
HSLhsl(269, 58%, 50%)
HSVhsv(269, 73%, 79%)
CMYKcmyk(37.1%, 72.8%, 0%, 20.8%)
CIE-LABlab(40.42, 57.99, -63.90)
CIE-LCHlch(40.42, 86.29, 312.22°)
OKLaboklab(51.24% 0.1115 -0.1822)
OKLCHoklch(51.24% 0.214 301.4)
XYZxyz(20.7767, 11.5086, 56.9924)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F37CA #82CA37
analogous
#3738CA #7F37CA #C937CA
triadic
#7F37CA #CA7F37 #37CA7F
tetradic
#7F37CA #CA3738 #82CA37 #37CAC9
square
#7F37CA #CA3738 #82CA37 #37CAC9
split-complementary
#7F37CA #CAC937 #38CA37
monochromatic
#431C6A #61299B #7F37CA #9E67D7 #BD98E4

Accessibility & contrast

On white

6.36
#7F37CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#7F37CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F37CA
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F37CA#FFFFFF#000000##FFFFFF
##7F37CA1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#005EC7
Tritanopia (blue-blind)
#6F5C7E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7f37ca;
/* rgb */ color: rgb(127, 55, 202);
/* oklch */ color: oklch(51.2% 0.214 301.4);
Tailwind
colors: {
  custom: {
    50: '#aa74db',
    500: '#7f37ca',
    950: '#000000',
  },
}
SCSS
$custom: #7f37ca;
$custom-light: #aa74db;
$custom-dark: #000000;
JSON
{
  "hex": "#7f37ca",
  "rgb": {
    "r": 127,
    "g": 55,
    "b": 202
  },
  "hsl": {
    "h": 269.388,
    "s": 58.103,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51237,
    "c": 0.21363,
    "h": 301.4
  },
  "luminance": 0.11509
}

Semantic roles & 50–950 ramp

primary
#7F37CA
secondary
#AFCF8E
accent
#E14695
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7F37CA

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

Preview Lab → · Contrast checker → · Palette generator →

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