#834FAC#834FAC

#834FAC is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.8% C 0.148 H 307.9°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#834FAC
RGBrgb(131, 79, 172)
HSLhsl(274, 37%, 49%)
HSVhsv(274, 54%, 67%)
CMYKcmyk(23.8%, 54.1%, 0%, 32.5%)
CIE-LABlab(43.35, 39.57, -41.59)
CIE-LCHlch(43.35, 57.40, 313.57°)
OKLaboklab(52.83% 0.091 -0.1167)
OKLCHoklch(52.83% 0.148 307.9)
XYZxyz(19.6010, 13.3961, 40.5748)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834FAC #78AC4F
analogous
#544FAC #834FAC #AC4FA7
triadic
#834FAC #AC834F #4FAC83
tetradic
#834FAC #AC544F #78AC4F #4FA7AC
square
#834FAC #AC544F #78AC4F #4FA7AC
split-complementary
#834FAC #A7AC4F #4FAC54
monochromatic
#432858 #633C82 #834FAC #A077C1 #BEA1D4

Accessibility & contrast

On white

5.71
#834FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#834FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834FAC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834FAC#FFFFFF#000000##FFFFFF
##834FAC1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3264AF
Deuteranopia (green-blind)
#4367AA
Tritanopia (blue-blind)
#7D6076
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #834fac;
/* rgb */ color: rgb(131, 79, 172);
/* oklch */ color: oklch(52.8% 0.148 307.9);
Tailwind
colors: {
  custom: {
    50: '#a982c5',
    500: '#834fac',
    950: '#000000',
  },
}
SCSS
$custom: #834fac;
$custom-light: #a982c5;
$custom-dark: #000000;
JSON
{
  "hex": "#834fac",
  "rgb": {
    "r": 131,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 273.548,
    "s": 37.052,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52826,
    "c": 0.14803,
    "h": 307.9
  },
  "luminance": 0.13396
}

Semantic roles & 50–950 ramp

primary
#834FAC
secondary
#A9C196
accent
#CD5B8D
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #834FAC

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

Preview Lab → · Contrast checker → · Palette generator →

#834FAC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva