#834CC2#834CC2

#834CC2 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.8% C 0.179 H 302.2°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#834CC2
RGBrgb(131, 76, 194)
HSLhsl(268, 49%, 53%)
HSVhsv(268, 61%, 76%)
CMYKcmyk(32.5%, 60.8%, 0%, 23.9%)
CIE-LABlab(44.07, 46.56, -53.32)
CIE-LCHlch(44.07, 70.79, 311.13°)
OKLaboklab(53.78% 0.0952 -0.1511)
OKLCHoklch(53.78% 0.179 302.2)
XYZxyz(21.6799, 13.8892, 52.5672)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834CC2 #8BC24C
analogous
#4C50C2 #834CC2 #BE4CC2
triadic
#834CC2 #C2834C #4CC283
tetradic
#834CC2 #C24C50 #8BC24C #4CC2BE
square
#834CC2 #C24C50 #8BC24C #4CC2BE
split-complementary
#834CC2 #C2BE4C #50C24C
monochromatic
#47266E #65359C #834CC2 #A37AD2 #C2A7E1

Accessibility & contrast

On white

5.56
#834CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#834CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834CC2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834CC2#FFFFFF#000000##FFFFFF
##834CC21.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#2968BF
Tritanopia (blue-blind)
#776580
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #834cc2;
/* rgb */ color: rgb(131, 76, 194);
/* oklch */ color: oklch(53.8% 0.179 302.2);
Tailwind
colors: {
  custom: {
    50: '#ab81d5',
    500: '#834cc2',
    950: '#000000',
  },
}
SCSS
$custom: #834cc2;
$custom-light: #ab81d5;
$custom-dark: #000000;
JSON
{
  "hex": "#834cc2",
  "rgb": {
    "r": 131,
    "g": 76,
    "b": 194
  },
  "hsl": {
    "h": 267.966,
    "s": 49.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53784,
    "c": 0.17863,
    "h": 302.2
  },
  "luminance": 0.13889
}

Semantic roles & 50–950 ramp

primary
#834CC2
secondary
#B7CE9B
accent
#D94F99
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #834CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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