#834EBF#834EBF

#834EBF is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.9% C 0.172 H 302.6°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#834EBF
RGBrgb(131, 78, 191)
HSLhsl(268, 47%, 53%)
HSVhsv(268, 59%, 75%)
CMYKcmyk(31.4%, 59.2%, 0%, 25.1%)
CIE-LABlab(44.28, 44.74, -51.24)
CIE-LCHlch(44.28, 68.02, 311.13°)
OKLaboklab(53.88% 0.0929 -0.145)
OKLCHoklch(53.88% 0.172 302.6)
XYZxyz(21.4863, 14.0356, 50.8573)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834EBF #8ABF4E
analogous
#4E51BF #834EBF #BC4EBF
triadic
#834EBF #BF834E #4EBF83
tetradic
#834EBF #BF4E51 #8ABF4E #4EBFBC
square
#834EBF #BF4E51 #8ABF4E #4EBFBC
split-complementary
#834EBF #BFBC4E #51BF4E
monochromatic
#47276C #653799 #834EBF #A27BCF #C2A8E0

Accessibility & contrast

On white

5.52
#834EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#834EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834EBF
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834EBF#FFFFFF#000000##FFFFFF
##834EBF1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1668C3
Deuteranopia (green-blind)
#3168BC
Tritanopia (blue-blind)
#77657F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #834ebf;
/* rgb */ color: rgb(131, 78, 191);
/* oklch */ color: oklch(53.9% 0.172 302.6);
Tailwind
colors: {
  custom: {
    50: '#ab82d3',
    500: '#834ebf',
    950: '#000000',
  },
}
SCSS
$custom: #834ebf;
$custom-light: #ab82d3;
$custom-dark: #000000;
JSON
{
  "hex": "#834ebf",
  "rgb": {
    "r": 131,
    "g": 78,
    "b": 191
  },
  "hsl": {
    "h": 268.142,
    "s": 46.888,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53876,
    "c": 0.17219,
    "h": 302.6
  },
  "luminance": 0.14036
}

Semantic roles & 50–950 ramp

primary
#834EBF
secondary
#B6CD9C
accent
#D75198
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #834EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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