#834ED9#834ED9

#834ED9 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.7% C 0.203 H 296.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#834ED9
RGBrgb(131, 78, 217)
HSLhsl(263, 65%, 58%)
HSVhsv(263, 64%, 85%)
CMYKcmyk(39.6%, 64.1%, 0%, 14.9%)
CIE-LABlab(46.02, 51.34, -63.42)
CIE-LCHlch(46.02, 81.60, 308.99°)
OKLaboklab(55.69% 0.0914 -0.1808)
OKLCHoklch(55.69% 0.203 296.8)
XYZxyz(24.6056, 15.2834, 67.2858)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834ED9 #A4D94E
analogous
#4E5ED9 #834ED9 #C94ED9
triadic
#834ED9 #D9834E #4ED983
tetradic
#834ED9 #D94E5E #A4D94E #4ED9C9
square
#834ED9 #D94E5E #A4D94E #4ED9C9
split-complementary
#834ED9 #D9C94E #5ED94E
monochromatic
#491F8E #6329C0 #834ED9 #A680E4 #CAB3EF

Accessibility & contrast

On white

5.18
#834ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#834ED9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834ED9
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834ED9#FFFFFF#000000##FFFFFF
##834ED91.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDD
Deuteranopia (green-blind)
#006BD6
Tritanopia (blue-blind)
#6E6E8D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #834ed9;
/* rgb */ color: rgb(131, 78, 217);
/* oklch */ color: oklch(55.7% 0.203 296.8);
Tailwind
colors: {
  custom: {
    50: '#ad82e6',
    500: '#834ed9',
    950: '#000000',
  },
}
SCSS
$custom: #834ed9;
$custom-light: #ad82e6;
$custom-dark: #000000;
JSON
{
  "hex": "#834ed9",
  "rgb": {
    "r": 131,
    "g": 78,
    "b": 217
  },
  "hsl": {
    "h": 262.878,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55689,
    "c": 0.20261,
    "h": 296.8
  },
  "luminance": 0.15284
}

Semantic roles & 50–950 ramp

primary
#834ED9
secondary
#C8DDA6
accent
#E840A8
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #834ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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