#7837BC#7837BC

#7837BC is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.3% C 0.198 H 301.8°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#7837BC
RGBrgb(120, 55, 188)
HSLhsl(269, 55%, 48%)
HSVhsv(269, 71%, 74%)
CMYKcmyk(36.2%, 70.7%, 0%, 26.3%)
CIE-LABlab(38.47, 53.32, -58.93)
CIE-LCHlch(38.47, 79.47, 312.14°)
OKLaboklab(49.33% 0.1043 -0.1679)
OKLCHoklch(49.33% 0.198 301.8)
XYZxyz(18.1868, 10.3562, 48.6080)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7837BC #7BBC37
analogous
#3739BC #7837BC #BA37BC
triadic
#7837BC #BC7837 #37BC78
tetradic
#7837BC #BC3739 #7BBC37 #37BCBA
square
#7837BC #BC3739 #7BBC37 #37BCBA
split-complementary
#7837BC #BCBA37 #39BC37
monochromatic
#3C1B5D #5A298D #7837BC #9760D0 #B68FDE

Accessibility & contrast

On white

6.84
#7837BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7837BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7837BC
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7837BC#FFFFFF#000000##FFFFFF
##7837BC1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#005AB9
Tritanopia (blue-blind)
#6A5776
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7837bc;
/* rgb */ color: rgb(120, 55, 188);
/* oklch */ color: oklch(49.3% 0.198 301.8);
Tailwind
colors: {
  custom: {
    50: '#a473d1',
    500: '#7837bc',
    950: '#000000',
  },
}
SCSS
$custom: #7837bc;
$custom-light: #a473d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7837bc",
  "rgb": {
    "r": 120,
    "g": 55,
    "b": 188
  },
  "hsl": {
    "h": 269.323,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49328,
    "c": 0.19765,
    "h": 301.8
  },
  "luminance": 0.10356
}

Semantic roles & 50–950 ramp

primary
#7837BC
secondary
#A8C986
accent
#DE4A96
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7837BC

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

Preview Lab → · Contrast checker → · Palette generator →

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