#7837BE#7837BE

#7837BE is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.5% C 0.200 H 301.3°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#7837BE
RGBrgb(120, 55, 190)
HSLhsl(269, 55%, 48%)
HSVhsv(269, 71%, 75%)
CMYKcmyk(36.8%, 71.1%, 0%, 25.5%)
CIE-LABlab(38.63, 53.81, -59.86)
CIE-LCHlch(38.63, 80.49, 311.95°)
OKLaboklab(49.48% 0.1039 -0.1706)
OKLCHoklch(49.48% 0.2 301.3)
XYZxyz(18.4039, 10.4431, 49.7513)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7837BE #7DBE37
analogous
#3739BE #7837BE #BB37BE
triadic
#7837BE #BE7837 #37BE78
tetradic
#7837BE #BE3739 #7DBE37 #37BEBB
square
#7837BE #BE3739 #7DBE37 #37BEBB
split-complementary
#7837BE #BEBB37 #39BE37
monochromatic
#3C1C5F #5A298F #7837BE #9761D1 #B690DF

Accessibility & contrast

On white

6.80
#7837BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7837BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7837BE
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7837BE#FFFFFF#000000##FFFFFF
##7837BE1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC2
Deuteranopia (green-blind)
#005ABB
Tritanopia (blue-blind)
#695877
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7837be;
/* rgb */ color: rgb(120, 55, 190);
/* oklch */ color: oklch(49.5% 0.200 301.3);
Tailwind
colors: {
  custom: {
    50: '#a573d2',
    500: '#7837be',
    950: '#000000',
  },
}
SCSS
$custom: #7837be;
$custom-light: #a573d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7837be",
  "rgb": {
    "r": 120,
    "g": 55,
    "b": 190
  },
  "hsl": {
    "h": 268.889,
    "s": 55.102,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49483,
    "c": 0.1998,
    "h": 301.3
  },
  "luminance": 0.10443
}

Semantic roles & 50–950 ramp

primary
#7837BE
secondary
#AACA87
accent
#DE4997
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7837BE

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

Preview Lab → · Contrast checker → · Palette generator →

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