#7834BF#7834BF

#7834BF is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.2% C 0.204 H 301.5°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#7834BF
RGBrgb(120, 52, 191)
HSLhsl(269, 57%, 48%)
HSVhsv(269, 73%, 75%)
CMYKcmyk(37.2%, 72.8%, 0%, 25.1%)
CIE-LABlab(38.22, 55.42, -61.11)
CIE-LCHlch(38.22, 82.50, 312.20°)
OKLaboklab(49.22% 0.1067 -0.1743)
OKLCHoklch(49.22% 0.204 301.5)
XYZxyz(18.3754, 10.2105, 50.2829)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7834BF #7BBF34
analogous
#3435BF #7834BF #BE34BF
triadic
#7834BF #BF7834 #34BF78
tetradic
#7834BF #BF3435 #7BBF34 #34BFBE
square
#7834BF #BF3435 #7BBF34 #34BFBE
split-complementary
#7834BF #BFBE34 #35BF34
monochromatic
#3C1A5F #5A278F #7834BF #975DD3 #B68DE0

Accessibility & contrast

On white

6.90
#7834BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#7834BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7834BF
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7834BF#FFFFFF#000000##FFFFFF
##7834BF1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C3
Deuteranopia (green-blind)
#0059BC
Tritanopia (blue-blind)
#695677
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7834bf;
/* rgb */ color: rgb(120, 52, 191);
/* oklch */ color: oklch(49.2% 0.204 301.5);
Tailwind
colors: {
  custom: {
    50: '#a572d3',
    500: '#7834bf',
    950: '#000000',
  },
}
SCSS
$custom: #7834bf;
$custom-light: #a572d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7834bf",
  "rgb": {
    "r": 120,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 269.353,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49218,
    "c": 0.20434,
    "h": 301.5
  },
  "luminance": 0.10211
}

Semantic roles & 50–950 ramp

primary
#7834BF
secondary
#A8CA84
accent
#E04796
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7834BF

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

Preview Lab → · Contrast checker → · Palette generator →

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