#7837DA#7837DA

#7837DA is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.8% C 0.229 H 295.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#7837DA
RGBrgb(120, 55, 218)
HSLhsl(264, 69%, 54%)
HSVhsv(264, 75%, 85%)
CMYKcmyk(45%, 74.8%, 0%, 14.5%)
CIE-LABlab(40.88, 60.74, -72.43)
CIE-LCHlch(40.88, 94.52, 309.98°)
OKLaboklab(51.77% 0.0979 -0.2075)
OKLCHoklch(51.77% 0.229 295.3)
XYZxyz(21.7634, 11.7868, 67.4445)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7837DA #99DA37
analogous
#3747DA #7837DA #C937DA
triadic
#7837DA #DA7837 #37DA78
tetradic
#7837DA #DA3747 #99DA37 #37DAC9
square
#7837DA #DA3747 #99DA37 #37DAC9
split-complementary
#7837DA #DAC937 #47DA37
monochromatic
#41187F #5B21B3 #7837DA #9B6BE4 #BE9EED

Accessibility & contrast

On white

6.25
#7837DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#7837DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7837DA
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7837DA#FFFFFF#000000##FFFFFF
##7837DA1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DF
Deuteranopia (green-blind)
#005ED7
Tritanopia (blue-blind)
#5C6387
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7837da;
/* rgb */ color: rgb(120, 55, 218);
/* oklch */ color: oklch(51.8% 0.229 295.3);
Tailwind
colors: {
  custom: {
    50: '#a874e7',
    500: '#7837da',
    950: '#000000',
  },
}
SCSS
$custom: #7837da;
$custom-light: #a874e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7837da",
  "rgb": {
    "r": 120,
    "g": 55,
    "b": 218
  },
  "hsl": {
    "h": 263.926,
    "s": 68.776,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51769,
    "c": 0.22947,
    "h": 295.3
  },
  "luminance": 0.11787
}

Semantic roles & 50–950 ramp

primary
#7837DA
secondary
#BDD993
accent
#EC3CA6
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7837DA

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

Preview Lab → · Contrast checker → · Palette generator →

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