#834FE1#834FE1

#834FE1 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.4% C 0.211 H 295.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#834FE1
RGBrgb(131, 79, 225)
HSLhsl(261, 71%, 60%)
HSVhsv(261, 65%, 88%)
CMYKcmyk(41.8%, 64.9%, 0%, 11.8%)
CIE-LABlab(46.78, 52.89, -66.74)
CIE-LCHlch(46.78, 85.16, 308.40°)
OKLaboklab(56.42% 0.0895 -0.1906)
OKLCHoklch(56.42% 0.211 295.2)
XYZxyz(25.7430, 15.8529, 72.9232)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834FE1 #ADE14F
analogous
#4F64E1 #834FE1 #CC4FE1
triadic
#834FE1 #E1834F #4FE183
tetradic
#834FE1 #E14F64 #ADE14F #4FE1CC
square
#834FE1 #E14F64 #ADE14F #4FE1CC
split-complementary
#834FE1 #E1CC4F #64E14F
monochromatic
#481A9B #6123CF #834FE1 #A883EA #CDB8F3

Accessibility & contrast

On white

5.04
#834FE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#834FE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834FE1
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834FE1#FFFFFF#000000##FFFFFF
##834FE11.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E6
Deuteranopia (green-blind)
#006DDE
Tritanopia (blue-blind)
#6A7191
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #834fe1;
/* rgb */ color: rgb(131, 79, 225);
/* oklch */ color: oklch(56.4% 0.211 295.2);
Tailwind
colors: {
  custom: {
    50: '#ae83eb',
    500: '#834fe1',
    950: '#000000',
  },
}
SCSS
$custom: #834fe1;
$custom-light: #ae83eb;
$custom-dark: #000000;
JSON
{
  "hex": "#834fe1",
  "rgb": {
    "r": 131,
    "g": 79,
    "b": 225
  },
  "hsl": {
    "h": 261.37,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.56417,
    "c": 0.21055,
    "h": 295.2
  },
  "luminance": 0.15854
}

Semantic roles & 50–950 ramp

primary
#834FE1
secondary
#CEE2AA
accent
#EE3AAE
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #834FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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