#7834AF#7834AF

#7834AF is a mid, vivid violet. Relative luminance 0.095; OKLCH L 48.0% C 0.188 H 305.7°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#7834AF
RGBrgb(120, 52, 175)
HSLhsl(273, 54%, 45%)
HSVhsv(273, 70%, 69%)
CMYKcmyk(31.4%, 70.3%, 0%, 31.4%)
CIE-LABlab(37.01, 51.60, -53.62)
CIE-LCHlch(37.01, 74.42, 313.90°)
OKLaboklab(47.98% 0.1094 -0.1523)
OKLCHoklch(47.98% 0.188 305.7)
XYZxyz(16.7099, 9.5443, 41.5111)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7834AF #6BAF34
analogous
#3B34AF #7834AF #AF34A9
triadic
#7834AF #AF7834 #34AF78
tetradic
#7834AF #AF3B34 #6BAF34 #34A9AF
square
#7834AF #AF3B34 #6BAF34 #34A9AF
split-complementary
#7834AF #A9AF34 #34AF3B
monochromatic
#371851 #582680 #7834AF #9654CC #B383DA

Accessibility & contrast

On white

7.22
#7834AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#7834AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7834AF
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7834AF#FFFFFF#000000##FFFFFF
##7834AF1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#0357AC
Tritanopia (blue-blind)
#6E506E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7834af;
/* rgb */ color: rgb(120, 52, 175);
/* oklch */ color: oklch(48.0% 0.188 305.7);
Tailwind
colors: {
  custom: {
    50: '#a471c8',
    500: '#7834af',
    950: '#000000',
  },
}
SCSS
$custom: #7834af;
$custom-light: #a471c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7834af",
  "rgb": {
    "r": 120,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 273.171,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47983,
    "c": 0.18752,
    "h": 305.7
  },
  "luminance": 0.09544
}

Semantic roles & 50–950 ramp

primary
#7834AF
secondary
#9CC47B
accent
#DE4A8C
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7834AF

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

Preview Lab → · Contrast checker → · Palette generator →

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