#834EC0#834EC0

#834EC0 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.9% C 0.173 H 302.4°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#834EC0
RGBrgb(131, 78, 192)
HSLhsl(268, 48%, 53%)
HSVhsv(268, 59%, 75%)
CMYKcmyk(31.8%, 59.4%, 0%, 24.7%)
CIE-LABlab(44.35, 44.99, -51.72)
CIE-LCHlch(44.35, 68.55, 311.02°)
OKLaboklab(53.94% 0.0928 -0.1464)
OKLCHoklch(53.94% 0.173 302.4)
XYZxyz(21.5967, 14.0798, 51.4388)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834EC0 #8BC04E
analogous
#4E52C0 #834EC0 #BC4EC0
triadic
#834EC0 #C0834E #4EC083
tetradic
#834EC0 #C04E52 #8BC04E #4EC0BC
square
#834EC0 #C04E52 #8BC04E #4EC0BC
split-complementary
#834EC0 #C0BC4E #52C04E
monochromatic
#47276D #65379A #834EC0 #A37BD0 #C2A8E0

Accessibility & contrast

On white

5.50
#834EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#834EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834EC0
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834EC0#FFFFFF#000000##FFFFFF
##834EC01.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1468C4
Deuteranopia (green-blind)
#2F68BD
Tritanopia (blue-blind)
#77657F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #834ec0;
/* rgb */ color: rgb(131, 78, 192);
/* oklch */ color: oklch(53.9% 0.173 302.4);
Tailwind
colors: {
  custom: {
    50: '#ab82d4',
    500: '#834ec0',
    950: '#000000',
  },
}
SCSS
$custom: #834ec0;
$custom-light: #ab82d4;
$custom-dark: #000000;
JSON
{
  "hex": "#834ec0",
  "rgb": {
    "r": 131,
    "g": 78,
    "b": 192
  },
  "hsl": {
    "h": 267.895,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53942,
    "c": 0.17337,
    "h": 302.4
  },
  "luminance": 0.1408
}

Semantic roles & 50–950 ramp

primary
#834EC0
secondary
#B7CE9C
accent
#D75199
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #834EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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