#834DD5#834DD5

#834DD5 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.3% C 0.199 H 297.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#834DD5
RGBrgb(131, 77, 213)
HSLhsl(264, 62%, 57%)
HSVhsv(264, 64%, 84%)
CMYKcmyk(38.5%, 63.8%, 0%, 16.5%)
CIE-LABlab(45.55, 50.83, -61.90)
CIE-LCHlch(45.55, 80.10, 309.39°)
OKLaboklab(55.26% 0.0929 -0.1763)
OKLCHoklch(55.26% 0.199 297.8)
XYZxyz(24.0211, 14.9368, 64.5554)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834DD5 #9FD54D
analogous
#4D5BD5 #834DD5 #C74DD5
triadic
#834DD5 #D5834D #4DD583
tetradic
#834DD5 #D54D5B #9FD54D #4DD5C7
square
#834DD5 #D54D5B #9FD54D #4DD5C7
split-complementary
#834DD5 #D5C74D #5BD54D
monochromatic
#492088 #642CB9 #834DD5 #A57FE1 #C8B0EC

Accessibility & contrast

On white

5.27
#834DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#834DD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834DD5
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834DD5#FFFFFF#000000##FFFFFF
##834DD51.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD9
Deuteranopia (green-blind)
#006AD2
Tritanopia (blue-blind)
#6F6C8A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #834dd5;
/* rgb */ color: rgb(131, 77, 213);
/* oklch */ color: oklch(55.3% 0.199 297.8);
Tailwind
colors: {
  custom: {
    50: '#ad82e3',
    500: '#834dd5',
    950: '#000000',
  },
}
SCSS
$custom: #834dd5;
$custom-light: #ad82e3;
$custom-dark: #000000;
JSON
{
  "hex": "#834dd5",
  "rgb": {
    "r": 131,
    "g": 77,
    "b": 213
  },
  "hsl": {
    "h": 263.824,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.55259,
    "c": 0.1993,
    "h": 297.8
  },
  "luminance": 0.14937
}

Semantic roles & 50–950 ramp

primary
#834DD5
secondary
#C5DBA3
accent
#E543A5
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B15
muted
#807C84

Preview Lab

Preview with #834DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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