#834ED2#834ED2

#834ED2 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.2% C 0.194 H 298.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#834ED2
RGBrgb(131, 78, 210)
HSLhsl(264, 59%, 56%)
HSVhsv(264, 63%, 82%)
CMYKcmyk(37.6%, 62.9%, 0%, 17.6%)
CIE-LABlab(45.53, 49.54, -60.20)
CIE-LCHlch(45.53, 77.97, 309.45°)
OKLaboklab(55.18% 0.092 -0.1713)
OKLCHoklch(55.18% 0.194 298.2)
XYZxyz(23.7144, 14.9269, 62.5921)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834ED2 #9DD24E
analogous
#4E5BD2 #834ED2 #C54ED2
triadic
#834ED2 #D2834E #4ED283
tetradic
#834ED2 #D24E5B #9DD24E #4ED2C5
square
#834ED2 #D24E5B #9DD24E #4ED2C5
split-complementary
#834ED2 #D2C54E #5BD24E
monochromatic
#492284 #642EB5 #834ED2 #A57FDE #C7B0EB

Accessibility & contrast

On white

5.27
#834ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#834ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834ED2
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834ED2#FFFFFF#000000##FFFFFF
##834ED21.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#076ACF
Tritanopia (blue-blind)
#716B89
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #834ed2;
/* rgb */ color: rgb(131, 78, 210);
/* oklch */ color: oklch(55.2% 0.194 298.2);
Tailwind
colors: {
  custom: {
    50: '#ac82e1',
    500: '#834ed2',
    950: '#000000',
  },
}
SCSS
$custom: #834ed2;
$custom-light: #ac82e1;
$custom-dark: #000000;
JSON
{
  "hex": "#834ed2",
  "rgb": {
    "r": 131,
    "g": 78,
    "b": 210
  },
  "hsl": {
    "h": 264.091,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.55183,
    "c": 0.19449,
    "h": 298.2
  },
  "luminance": 0.14927
}

Semantic roles & 50–950 ramp

primary
#834ED2
secondary
#C3D9A3
accent
#E345A3
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #834ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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