#834BCB#834BCB

#834BCB is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.3% C 0.190 H 300.2°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#834BCB
RGBrgb(131, 75, 203)
HSLhsl(266, 55%, 55%)
HSVhsv(266, 63%, 80%)
CMYKcmyk(35.5%, 63.1%, 0%, 20.4%)
CIE-LABlab(44.47, 49.34, -57.89)
CIE-LCHlch(44.47, 76.06, 310.44°)
OKLaboklab(54.26% 0.0959 -0.1645)
OKLCHoklch(54.26% 0.19 300.2)
XYZxyz(22.6530, 14.1691, 58.0298)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834BCB #93CB4B
analogous
#4B53CB #834BCB #C34BCB
triadic
#834BCB #CB834B #4BCB83
tetradic
#834BCB #CB4B53 #93CB4B #4BCBC3
square
#834BCB #CB4B53 #93CB4B #4BCBC3
split-complementary
#834BCB #CBC34B #53CB4B
monochromatic
#482379 #6531A8 #834BCB #A47AD9 #C4AAE6

Accessibility & contrast

On white

5.48
#834BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#834BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834BCB
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834BCB#FFFFFF#000000##FFFFFF
##834BCB1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#1668C8
Tritanopia (blue-blind)
#736784
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #834bcb;
/* rgb */ color: rgb(131, 75, 203);
/* oklch */ color: oklch(54.3% 0.190 300.2);
Tailwind
colors: {
  custom: {
    50: '#ac80dc',
    500: '#834bcb',
    950: '#000000',
  },
}
SCSS
$custom: #834bcb;
$custom-light: #ac80dc;
$custom-dark: #000000;
JSON
{
  "hex": "#834bcb",
  "rgb": {
    "r": 131,
    "g": 75,
    "b": 203
  },
  "hsl": {
    "h": 266.25,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54265,
    "c": 0.19045,
    "h": 300.2
  },
  "luminance": 0.14169
}

Semantic roles & 50–950 ramp

primary
#834BCB
secondary
#BCD49E
accent
#DF499D
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #834BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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