#834ED8#834ED8

#834ED8 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.6% C 0.201 H 297.0°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#834ED8
RGBrgb(131, 78, 216)
HSLhsl(263, 64%, 58%)
HSVhsv(263, 64%, 85%)
CMYKcmyk(39.4%, 63.9%, 0%, 15.3%)
CIE-LABlab(45.95, 51.08, -62.97)
CIE-LCHlch(45.95, 81.08, 309.05°)
OKLaboklab(55.62% 0.0915 -0.1795)
OKLCHoklch(55.62% 0.201 297)
XYZxyz(24.4759, 15.2315, 66.6029)
Luminance0.1523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834ED8 #A3D84E
analogous
#4E5ED8 #834ED8 #C84ED8
triadic
#834ED8 #D8834E #4ED883
tetradic
#834ED8 #D84E5E #A3D84E #4ED8C8
square
#834ED8 #D84E5E #A3D84E #4ED8C8
split-complementary
#834ED8 #D8C84E #5ED84E
monochromatic
#491F8D #632ABF #834ED8 #A680E3 #C9B2EE

Accessibility & contrast

On white

5.19
#834ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#834ED8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834ED8
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834ED8#FFFFFF#000000##FFFFFF
##834ED81.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDC
Deuteranopia (green-blind)
#006BD5
Tritanopia (blue-blind)
#6E6E8C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #834ed8;
/* rgb */ color: rgb(131, 78, 216);
/* oklch */ color: oklch(55.6% 0.201 297.0);
Tailwind
colors: {
  custom: {
    50: '#ad82e5',
    500: '#834ed8',
    950: '#000000',
  },
}
SCSS
$custom: #834ed8;
$custom-light: #ad82e5;
$custom-dark: #000000;
JSON
{
  "hex": "#834ed8",
  "rgb": {
    "r": 131,
    "g": 78,
    "b": 216
  },
  "hsl": {
    "h": 263.043,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55616,
    "c": 0.20145,
    "h": 297
  },
  "luminance": 0.15232
}

Semantic roles & 50–950 ramp

primary
#834ED8
secondary
#C7DDA5
accent
#E741A7
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #834ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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