#834CE5#834CE5

#834CE5 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.3% C 0.219 H 294.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#834CE5
RGBrgb(131, 76, 229)
HSLhsl(262, 75%, 60%)
HSVhsv(262, 67%, 90%)
CMYKcmyk(42.8%, 66.8%, 0%, 10.2%)
CIE-LABlab(46.51, 55.47, -69.44)
CIE-LCHlch(46.51, 88.88, 308.62°)
OKLaboklab(56.32% 0.0921 -0.1985)
OKLCHoklch(56.32% 0.219 294.9)
XYZxyz(26.0836, 15.6507, 75.7602)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834CE5 #AEE54C
analogous
#4C61E5 #834CE5 #D04CE5
triadic
#834CE5 #E5834C #4CE583
tetradic
#834CE5 #E54C61 #AEE54C #4CE5D0
square
#834CE5 #E54C61 #AEE54C #4CE5D0
split-complementary
#834CE5 #E5D04C #61E54C
monochromatic
#48179F #601FD5 #834CE5 #A881ED #CDB7F5

Accessibility & contrast

On white

5.08
#834CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#834CE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834CE5
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834CE5#FFFFFF#000000##FFFFFF
##834CE51.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EA
Deuteranopia (green-blind)
#006CE2
Tritanopia (blue-blind)
#687192
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #834ce5;
/* rgb */ color: rgb(131, 76, 229);
/* oklch */ color: oklch(56.3% 0.219 294.9);
Tailwind
colors: {
  custom: {
    50: '#ae82ee',
    500: '#834ce5',
    950: '#000000',
  },
}
SCSS
$custom: #834ce5;
$custom-light: #ae82ee;
$custom-dark: #000000;
JSON
{
  "hex": "#834ce5",
  "rgb": {
    "r": 131,
    "g": 76,
    "b": 229
  },
  "hsl": {
    "h": 261.569,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56316,
    "c": 0.21882,
    "h": 294.9
  },
  "luminance": 0.15651
}

Semantic roles & 50–950 ramp

primary
#834CE5
secondary
#CFE4A9
accent
#F137AE
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #834CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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