#834CD2#834CD2

#834CD2 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.9% C 0.197 H 298.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#834CD2
RGBrgb(131, 76, 210)
HSLhsl(265, 60%, 56%)
HSVhsv(265, 64%, 82%)
CMYKcmyk(37.6%, 63.8%, 0%, 17.6%)
CIE-LABlab(45.15, 50.59, -60.83)
CIE-LCHlch(45.15, 79.12, 309.75°)
OKLaboklab(54.9% 0.0942 -0.1732)
OKLCHoklch(54.9% 0.197 298.6)
XYZxyz(23.5745, 14.6470, 62.5454)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834CD2 #9BD24C
analogous
#4C58D2 #834CD2 #C64CD2
triadic
#834CD2 #D2834C #4CD283
tetradic
#834CD2 #D24C58 #9BD24C #4CD2C6
square
#834CD2 #D24C58 #9BD24C #4CD2C6
split-complementary
#834CD2 #D2C64C #58D24C
monochromatic
#492183 #642DB4 #834CD2 #A57DDE #C7AEEB

Accessibility & contrast

On white

5.34
#834CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#834CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834CD2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834CD2#FFFFFF#000000##FFFFFF
##834CD21.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#006ACF
Tritanopia (blue-blind)
#716A88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #834cd2;
/* rgb */ color: rgb(131, 76, 210);
/* oklch */ color: oklch(54.9% 0.197 298.6);
Tailwind
colors: {
  custom: {
    50: '#ac81e1',
    500: '#834cd2',
    950: '#000000',
  },
}
SCSS
$custom: #834cd2;
$custom-light: #ac81e1;
$custom-dark: #000000;
JSON
{
  "hex": "#834cd2",
  "rgb": {
    "r": 131,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 264.627,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54903,
    "c": 0.19717,
    "h": 298.6
  },
  "luminance": 0.14647
}

Semantic roles & 50–950 ramp

primary
#834CD2
secondary
#C2D9A1
accent
#E345A2
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #834CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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