#7837BF#7837BF

#7837BF is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.6% C 0.201 H 301.1°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#7837BF
RGBrgb(120, 55, 191)
HSLhsl(269, 55%, 48%)
HSVhsv(269, 71%, 75%)
CMYKcmyk(37.2%, 71.2%, 0%, 25.1%)
CIE-LABlab(38.70, 54.05, -60.32)
CIE-LCHlch(38.70, 81.00, 311.86°)
OKLaboklab(49.56% 0.1038 -0.172)
OKLCHoklch(49.56% 0.201 301.1)
XYZxyz(18.5136, 10.4869, 50.3289)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7837BF #7EBF37
analogous
#373ABF #7837BF #BC37BF
triadic
#7837BF #BF7837 #37BF78
tetradic
#7837BF #BF373A #7EBF37 #37BFBC
square
#7837BF #BF373A #7EBF37 #37BFBC
split-complementary
#7837BF #BFBC37 #3ABF37
monochromatic
#3C1C60 #5A298F #7837BF #9762D2 #B691DF

Accessibility & contrast

On white

6.78
#7837BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7837BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7837BF
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7837BF#FFFFFF#000000##FFFFFF
##7837BF1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC3
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#685877
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7837bf;
/* rgb */ color: rgb(120, 55, 191);
/* oklch */ color: oklch(49.6% 0.201 301.1);
Tailwind
colors: {
  custom: {
    50: '#a573d3',
    500: '#7837bf',
    950: '#000000',
  },
}
SCSS
$custom: #7837bf;
$custom-light: #a573d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7837bf",
  "rgb": {
    "r": 120,
    "g": 55,
    "b": 191
  },
  "hsl": {
    "h": 268.676,
    "s": 55.285,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49561,
    "c": 0.20086,
    "h": 301.1
  },
  "luminance": 0.10487
}

Semantic roles & 50–950 ramp

primary
#7837BF
secondary
#AACA88
accent
#DF4997
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7837BF

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

Preview Lab → · Contrast checker → · Palette generator →

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