#7834BB#7834BB

#7834BB is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.9% C 0.200 H 302.5°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#7834BB
RGBrgb(120, 52, 187)
HSLhsl(270, 56%, 47%)
HSVhsv(270, 72%, 73%)
CMYKcmyk(35.8%, 72.2%, 0%, 26.7%)
CIE-LABlab(37.91, 54.45, -59.27)
CIE-LCHlch(37.91, 80.48, 312.58°)
OKLaboklab(48.9% 0.1074 -0.1689)
OKLCHoklch(48.9% 0.2 302.5)
XYZxyz(17.9412, 10.0369, 47.9962)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7834BB #77BB34
analogous
#3534BB #7834BB #BB34BB
triadic
#7834BB #BB7834 #34BB78
tetradic
#7834BB #BB3534 #77BB34 #34BBBB
square
#7834BB #BB3534 #77BB34 #34BBBB
split-complementary
#7834BB #BBBB34 #34BB35
monochromatic
#3B195B #59278B #7834BB #975BD1 #B58BDF

Accessibility & contrast

On white

6.98
#7834BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7834BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7834BB
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7834BB#FFFFFF#000000##FFFFFF
##7834BB1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#6A5574
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7834bb;
/* rgb */ color: rgb(120, 52, 187);
/* oklch */ color: oklch(48.9% 0.200 302.5);
Tailwind
colors: {
  custom: {
    50: '#a572d0',
    500: '#7834bb',
    950: '#000000',
  },
}
SCSS
$custom: #7834bb;
$custom-light: #a572d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7834bb",
  "rgb": {
    "r": 120,
    "g": 52,
    "b": 187
  },
  "hsl": {
    "h": 270.222,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.48902,
    "c": 0.20014,
    "h": 302.5
  },
  "luminance": 0.10037
}

Semantic roles & 50–950 ramp

primary
#7834BB
secondary
#A5C982
accent
#E04893
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7834BB

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

Preview Lab → · Contrast checker → · Palette generator →

#7834BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva