#834DBF#834DBF

#834DBF is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.7% C 0.174 H 302.8°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#834DBF
RGBrgb(131, 77, 191)
HSLhsl(268, 47%, 53%)
HSVhsv(268, 60%, 75%)
CMYKcmyk(31.4%, 59.7%, 0%, 25.1%)
CIE-LABlab(44.08, 45.28, -51.56)
CIE-LCHlch(44.08, 68.62, 311.29°)
OKLaboklab(53.73% 0.0941 -0.146)
OKLCHoklch(53.73% 0.174 302.8)
XYZxyz(21.4158, 13.8946, 50.8338)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834DBF #89BF4D
analogous
#4D50BF #834DBF #BC4DBF
triadic
#834DBF #BF834D #4DBF83
tetradic
#834DBF #BF4D50 #89BF4D #4DBFBC
square
#834DBF #BF4D50 #89BF4D #4DBFBC
split-complementary
#834DBF #BFBC4D #50BF4D
monochromatic
#47276B #653798 #834DBF #A27ACF #C2A7DF

Accessibility & contrast

On white

5.56
#834DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#834DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834DBF
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834DBF#FFFFFF#000000##FFFFFF
##834DBF1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1267C3
Deuteranopia (green-blind)
#2F68BC
Tritanopia (blue-blind)
#77647F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #834dbf;
/* rgb */ color: rgb(131, 77, 191);
/* oklch */ color: oklch(53.7% 0.174 302.8);
Tailwind
colors: {
  custom: {
    50: '#ab81d3',
    500: '#834dbf',
    950: '#000000',
  },
}
SCSS
$custom: #834dbf;
$custom-light: #ab81d3;
$custom-dark: #000000;
JSON
{
  "hex": "#834dbf",
  "rgb": {
    "r": 131,
    "g": 77,
    "b": 191
  },
  "hsl": {
    "h": 268.421,
    "s": 47.107,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53728,
    "c": 0.17366,
    "h": 302.8
  },
  "luminance": 0.13895
}

Semantic roles & 50–950 ramp

primary
#834DBF
secondary
#B5CD9B
accent
#D75197
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #834DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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