#834FE2#834FE2

#834FE2 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.5% C 0.212 H 295.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#834FE2
RGBrgb(131, 79, 226)
HSLhsl(261, 72%, 60%)
HSVhsv(261, 65%, 89%)
CMYKcmyk(42%, 65%, 0%, 11.4%)
CIE-LABlab(46.85, 53.16, -67.19)
CIE-LCHlch(46.85, 85.68, 308.35°)
OKLaboklab(56.49% 0.0894 -0.1919)
OKLCHoklch(56.49% 0.212 295)
XYZxyz(25.8799, 15.9076, 73.6437)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834FE2 #AEE24F
analogous
#4F65E2 #834FE2 #CC4FE2
triadic
#834FE2 #E2834F #4FE283
tetradic
#834FE2 #E24F65 #AEE24F #4FE2CC
square
#834FE2 #E24F65 #AEE24F #4FE2CC
split-complementary
#834FE2 #E2CC4F #65E24F
monochromatic
#481A9D #6022D1 #834FE2 #A884EB #CDB8F3

Accessibility & contrast

On white

5.02
#834FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#834FE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834FE2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834FE2#FFFFFF#000000##FFFFFF
##834FE21.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E7
Deuteranopia (green-blind)
#006DDF
Tritanopia (blue-blind)
#6A7292
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #834fe2;
/* rgb */ color: rgb(131, 79, 226);
/* oklch */ color: oklch(56.5% 0.212 295.0);
Tailwind
colors: {
  custom: {
    50: '#ae83ec',
    500: '#834fe2',
    950: '#000000',
  },
}
SCSS
$custom: #834fe2;
$custom-light: #ae83ec;
$custom-dark: #000000;
JSON
{
  "hex": "#834fe2",
  "rgb": {
    "r": 131,
    "g": 79,
    "b": 226
  },
  "hsl": {
    "h": 261.224,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56492,
    "c": 0.2117,
    "h": 295
  },
  "luminance": 0.15908
}

Semantic roles & 50–950 ramp

primary
#834FE2
secondary
#CFE3AA
accent
#EE39AE
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #834FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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