#834CBF#834CBF

#834CBF is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.6% C 0.175 H 303.0°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#834CBF
RGBrgb(131, 76, 191)
HSLhsl(269, 47%, 52%)
HSVhsv(269, 60%, 75%)
CMYKcmyk(31.4%, 60.2%, 0%, 25.1%)
CIE-LABlab(43.88, 45.82, -51.89)
CIE-LCHlch(43.88, 69.22, 311.45°)
OKLaboklab(53.58% 0.0953 -0.1469)
OKLCHoklch(53.58% 0.175 303)
XYZxyz(21.3463, 13.7558, 50.8107)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834CBF #88BF4C
analogous
#4C4EBF #834CBF #BD4CBF
triadic
#834CBF #BF834C #4CBF83
tetradic
#834CBF #BF4C4E #88BF4C #4CBFBD
square
#834CBF #BF4C4E #88BF4C #4CBFBD
split-complementary
#834CBF #BFBD4C #4EBF4C
monochromatic
#47266B #653698 #834CBF #A279CF #C1A6DF

Accessibility & contrast

On white

5.60
#834CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#834CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834CBF
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834CBF#FFFFFF#000000##FFFFFF
##834CBF1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D67C3
Deuteranopia (green-blind)
#2E67BC
Tritanopia (blue-blind)
#78647E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #834cbf;
/* rgb */ color: rgb(131, 76, 191);
/* oklch */ color: oklch(53.6% 0.175 303.0);
Tailwind
colors: {
  custom: {
    50: '#ab81d3',
    500: '#834cbf',
    950: '#000000',
  },
}
SCSS
$custom: #834cbf;
$custom-light: #ab81d3;
$custom-dark: #000000;
JSON
{
  "hex": "#834cbf",
  "rgb": {
    "r": 131,
    "g": 76,
    "b": 191
  },
  "hsl": {
    "h": 268.696,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53581,
    "c": 0.17513,
    "h": 303
  },
  "luminance": 0.13756
}

Semantic roles & 50–950 ramp

primary
#834CBF
secondary
#B4CC9A
accent
#D75197
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #834CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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