#7A37BF#7A37BF

#7A37BF is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.8% C 0.201 H 302.0°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#7A37BF
RGBrgb(122, 55, 191)
HSLhsl(270, 55%, 48%)
HSVhsv(270, 71%, 75%)
CMYKcmyk(36.1%, 71.2%, 0%, 25.1%)
CIE-LABlab(38.95, 54.43, -59.91)
CIE-LCHlch(38.95, 80.94, 312.26°)
OKLaboklab(49.79% 0.1066 -0.1707)
OKLCHoklch(49.79% 0.201 302)
XYZxyz(18.7939, 10.6315, 50.3421)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A37BF #7CBF37
analogous
#3738BF #7A37BF #BE37BF
triadic
#7A37BF #BF7A37 #37BF7A
tetradic
#7A37BF #BF3738 #7CBF37 #37BFBE
square
#7A37BF #BF3738 #7CBF37 #37BFBE
split-complementary
#7A37BF #BFBE37 #38BF37
monochromatic
#3D1C60 #5C298F #7A37BF #9962D2 #B891DF

Accessibility & contrast

On white

6.72
#7A37BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7A37BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A37BF
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A37BF#FFFFFF#000000##FFFFFF
##7A37BF1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#005BBC
Tritanopia (blue-blind)
#6B5877
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7a37bf;
/* rgb */ color: rgb(122, 55, 191);
/* oklch */ color: oklch(49.8% 0.201 302.0);
Tailwind
colors: {
  custom: {
    50: '#a673d3',
    500: '#7a37bf',
    950: '#000000',
  },
}
SCSS
$custom: #7a37bf;
$custom-light: #a673d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a37bf",
  "rgb": {
    "r": 122,
    "g": 55,
    "b": 191
  },
  "hsl": {
    "h": 269.559,
    "s": 55.285,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49794,
    "c": 0.20122,
    "h": 302
  },
  "luminance": 0.10632
}

Semantic roles & 50–950 ramp

primary
#7A37BF
secondary
#A9CA88
accent
#DF4995
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7A37BF

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

Preview Lab → · Contrast checker → · Palette generator →

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