#834DEA#834DEA

#834DEA is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.8% C 0.223 H 293.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#834DEA
RGBrgb(131, 77, 234)
HSLhsl(261, 79%, 61%)
HSVhsv(261, 67%, 92%)
CMYKcmyk(44%, 67.1%, 0%, 8.2%)
CIE-LABlab(47.07, 56.27, -71.36)
CIE-LCHlch(47.07, 90.88, 308.25°)
OKLaboklab(56.83% 0.0904 -0.2042)
OKLCHoklch(56.83% 0.223 293.9)
XYZxyz(26.8612, 16.0728, 79.5130)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834DEA #B4EA4D
analogous
#4D65EA #834DEA #D14DEA
triadic
#834DEA #EA834D #4DEA83
tetradic
#834DEA #EA4D65 #B4EA4D #4DEAD1
square
#834DEA #EA4D65 #B4EA4D #4DEAD1
split-complementary
#834DEA #EAD14D #65EA4D
monochromatic
#4714A9 #5E1ADF #834DEA #A984F0 #CFBAF7

Accessibility & contrast

On white

4.98
#834DEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#834DEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834DEA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834DEA#FFFFFF#000000##FFFFFF
##834DEA1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EF
Deuteranopia (green-blind)
#006DE7
Tritanopia (blue-blind)
#667395
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #834dea;
/* rgb */ color: rgb(131, 77, 234);
/* oklch */ color: oklch(56.8% 0.223 293.9);
Tailwind
colors: {
  custom: {
    50: '#af82f2',
    500: '#834dea',
    950: '#000000',
  },
}
SCSS
$custom: #834dea;
$custom-light: #af82f2;
$custom-dark: #000000;
JSON
{
  "hex": "#834dea",
  "rgb": {
    "r": 131,
    "g": 77,
    "b": 234
  },
  "hsl": {
    "h": 260.637,
    "s": 78.894,
    "l": 60.98
  },
  "oklch": {
    "l": 0.56833,
    "c": 0.22326,
    "h": 293.9
  },
  "luminance": 0.16074
}

Semantic roles & 50–950 ramp

primary
#834DEA
secondary
#D3E7AC
accent
#DB0A93
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #834DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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