#834CD9#834CD9

#834CD9 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.4% C 0.205 H 297.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#834CD9
RGBrgb(131, 76, 217)
HSLhsl(263, 65%, 57%)
HSVhsv(263, 65%, 85%)
CMYKcmyk(39.6%, 65%, 0%, 14.9%)
CIE-LABlab(45.64, 52.38, -64.04)
CIE-LCHlch(45.64, 82.73, 309.28°)
OKLaboklab(55.41% 0.0935 -0.1826)
OKLCHoklch(55.41% 0.205 297.1)
XYZxyz(24.4657, 15.0035, 67.2392)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834CD9 #A2D94C
analogous
#4C5CD9 #834CD9 #C94CD9
triadic
#834CD9 #D9834C #4CD983
tetradic
#834CD9 #D94C5C #A2D94C #4CD9C9
square
#834CD9 #D94C5C #A2D94C #4CD9C9
split-complementary
#834CD9 #D9C94C #5CD94C
monochromatic
#491E8D #6329BF #834CD9 #A67EE4 #C9B1EE

Accessibility & contrast

On white

5.25
#834CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#834CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834CD9
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834CD9#FFFFFF#000000##FFFFFF
##834CD91.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDD
Deuteranopia (green-blind)
#006AD6
Tritanopia (blue-blind)
#6E6D8C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #834cd9;
/* rgb */ color: rgb(131, 76, 217);
/* oklch */ color: oklch(55.4% 0.205 297.1);
Tailwind
colors: {
  custom: {
    50: '#ad81e6',
    500: '#834cd9',
    950: '#000000',
  },
}
SCSS
$custom: #834cd9;
$custom-light: #ad81e6;
$custom-dark: #000000;
JSON
{
  "hex": "#834cd9",
  "rgb": {
    "r": 131,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 263.404,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55414,
    "c": 0.2052,
    "h": 297.1
  },
  "luminance": 0.15004
}

Semantic roles & 50–950 ramp

primary
#834CD9
secondary
#C7DDA4
accent
#E840A6
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #834CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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