#7837AE#7837AE

#7837AE is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.3% C 0.183 H 305.6°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#7837AE
RGBrgb(120, 55, 174)
HSLhsl(273, 52%, 45%)
HSVhsv(273, 68%, 68%)
CMYKcmyk(31%, 68.4%, 0%, 31.8%)
CIE-LABlab(37.45, 49.95, -52.32)
CIE-LCHlch(37.45, 72.34, 313.67°)
OKLaboklab(48.27% 0.1063 -0.1485)
OKLCHoklch(48.27% 0.183 305.6)
XYZxyz(16.7502, 9.7816, 41.0418)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7837AE #6DAE37
analogous
#3C37AE #7837AE #AE37A9
triadic
#7837AE #AE7837 #37AE78
tetradic
#7837AE #AE3C37 #6DAE37 #37A9AE
square
#7837AE #AE3C37 #6DAE37 #37A9AE
split-complementary
#7837AE #A9AE37 #37AE3C
monochromatic
#381A51 #58287F #7837AE #9658CA #B486D9

Accessibility & contrast

On white

7.10
#7837AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#7837AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7837AE
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7837AE#FFFFFF#000000##FFFFFF
##7837AE1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B2
Deuteranopia (green-blind)
#1058AB
Tritanopia (blue-blind)
#6E516E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7837ae;
/* rgb */ color: rgb(120, 55, 174);
/* oklch */ color: oklch(48.3% 0.183 305.6);
Tailwind
colors: {
  custom: {
    50: '#a373c7',
    500: '#7837ae',
    950: '#000000',
  },
}
SCSS
$custom: #7837ae;
$custom-light: #a373c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7837ae",
  "rgb": {
    "r": 120,
    "g": 55,
    "b": 174
  },
  "hsl": {
    "h": 272.773,
    "s": 51.965,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48271,
    "c": 0.18261,
    "h": 305.6
  },
  "luminance": 0.09781
}

Semantic roles & 50–950 ramp

primary
#7837AE
secondary
#9DC37E
accent
#DB4C8D
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7837AE

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

Preview Lab → · Contrast checker → · Palette generator →

#7837AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva