#834BBB#834BBB

#834BBB is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.2% C 0.172 H 304.2°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#834BBB
RGBrgb(131, 75, 187)
HSLhsl(270, 45%, 51%)
HSVhsv(270, 60%, 73%)
CMYKcmyk(29.9%, 59.9%, 0%, 26.7%)
CIE-LABlab(43.43, 45.37, -50.28)
CIE-LCHlch(43.43, 67.73, 312.06°)
OKLaboklab(53.17% 0.0966 -0.1422)
OKLCHoklch(53.17% 0.172 304.2)
XYZxyz(20.8438, 13.4454, 48.5012)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834BBB #83BB4B
analogous
#4B4BBB #834BBB #BB4BBB
triadic
#834BBB #BB834B #4BBB83
tetradic
#834BBB #BB4B4B #83BB4B #4BBBBB
square
#834BBB #BB4B4B #83BB4B #4BBBBB
split-complementary
#834BBB #BBBB4B #4BBB4B
monochromatic
#462665 #643792 #834BBB #A277CC #C0A4DD

Accessibility & contrast

On white

5.69
#834BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#834BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834BBB
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834BBB#FFFFFF#000000##FFFFFF
##834BBB1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1465BF
Deuteranopia (green-blind)
#3167B8
Tritanopia (blue-blind)
#79627C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #834bbb;
/* rgb */ color: rgb(131, 75, 187);
/* oklch */ color: oklch(53.2% 0.172 304.2);
Tailwind
colors: {
  custom: {
    50: '#ab80d0',
    500: '#834bbb',
    950: '#000000',
  },
}
SCSS
$custom: #834bbb;
$custom-light: #ab80d0;
$custom-dark: #000000;
JSON
{
  "hex": "#834bbb",
  "rgb": {
    "r": 131,
    "g": 75,
    "b": 187
  },
  "hsl": {
    "h": 270,
    "s": 45.161,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53169,
    "c": 0.17192,
    "h": 304.2
  },
  "luminance": 0.13445
}

Semantic roles & 50–950 ramp

primary
#834BBB
secondary
#B1CA98
accent
#D55394
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #834BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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