#834CBD#834CBD

#834CBD is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.4% C 0.173 H 303.5°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#834CBD
RGBrgb(131, 76, 189)
HSLhsl(269, 46%, 52%)
HSVhsv(269, 60%, 74%)
CMYKcmyk(30.7%, 59.8%, 0%, 25.9%)
CIE-LABlab(43.75, 45.32, -50.93)
CIE-LCHlch(43.75, 68.17, 311.67°)
OKLaboklab(53.45% 0.0954 -0.1441)
OKLCHoklch(53.45% 0.173 303.5)
XYZxyz(21.1277, 13.6683, 49.6594)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834CBD #86BD4C
analogous
#4C4EBD #834CBD #BC4CBD
triadic
#834CBD #BD834C #4CBD83
tetradic
#834CBD #BD4C4E #86BD4C #4CBDBC
square
#834CBD #BD4C4E #86BD4C #4CBDBC
split-complementary
#834CBD #BDBC4C #4EBD4C
monochromatic
#462668 #653795 #834CBD #A279CD #C1A5DE

Accessibility & contrast

On white

5.62
#834CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#834CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834CBD
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834CBD#FFFFFF#000000##FFFFFF
##834CBD1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1366C1
Deuteranopia (green-blind)
#3067BA
Tritanopia (blue-blind)
#78637D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #834cbd;
/* rgb */ color: rgb(131, 76, 189);
/* oklch */ color: oklch(53.4% 0.173 303.5);
Tailwind
colors: {
  custom: {
    50: '#ab81d1',
    500: '#834cbd',
    950: '#000000',
  },
}
SCSS
$custom: #834cbd;
$custom-light: #ab81d1;
$custom-dark: #000000;
JSON
{
  "hex": "#834cbd",
  "rgb": {
    "r": 131,
    "g": 76,
    "b": 189
  },
  "hsl": {
    "h": 269.204,
    "s": 46.122,
    "l": 51.961
  },
  "oklch": {
    "l": 0.53448,
    "c": 0.17278,
    "h": 303.5
  },
  "luminance": 0.13668
}

Semantic roles & 50–950 ramp

primary
#834CBD
secondary
#B3CB9A
accent
#D65296
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #834CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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