#834BDB#834BDB

#834BDB is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.4% C 0.209 H 296.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#834BDB
RGBrgb(131, 75, 219)
HSLhsl(263, 67%, 58%)
HSVhsv(263, 66%, 86%)
CMYKcmyk(40.2%, 65.8%, 0%, 14.1%)
CIE-LABlab(45.60, 53.40, -65.25)
CIE-LCHlch(45.60, 84.32, 309.30°)
OKLaboklab(55.43% 0.0944 -0.1862)
OKLCHoklch(55.43% 0.209 296.9)
XYZxyz(24.6590, 14.9715, 68.5947)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834BDB #A3DB4B
analogous
#4B5BDB #834BDB #CB4BDB
triadic
#834BDB #DB834B #4BDB83
tetradic
#834BDB #DB4B5B #A3DB4B #4BDBCB
square
#834BDB #DB4B5B #A3DB4B #4BDBCB
split-complementary
#834BDB #DBCB4B #5BDB4B
monochromatic
#491D8F #6327C2 #834BDB #A67EE5 #C9B1EF

Accessibility & contrast

On white

5.26
#834BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #834BDB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834BDB#FFFFFF#000000##FFFFFF
##834BDB1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#006AD8
Tritanopia (blue-blind)
#6D6D8D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #834bdb;
/* rgb */ color: rgb(131, 75, 219);
/* oklch */ color: oklch(55.4% 0.209 296.9);
Tailwind
colors: {
  custom: {
    50: '#ad81e7',
    500: '#834bdb',
    950: '#000000',
  },
}
SCSS
$custom: #834bdb;
$custom-light: #ad81e7;
$custom-dark: #000000;
JSON
{
  "hex": "#834bdb",
  "rgb": {
    "r": 131,
    "g": 75,
    "b": 219
  },
  "hsl": {
    "h": 263.333,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55427,
    "c": 0.20874,
    "h": 296.9
  },
  "luminance": 0.14972
}

Semantic roles & 50–950 ramp

primary
#834BDB
secondary
#C7DEA4
accent
#EA3EA7
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #834BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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