#834CE1#834CE1

#834CE1 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.0% C 0.214 H 295.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#834CE1
RGBrgb(131, 76, 225)
HSLhsl(262, 71%, 59%)
HSVhsv(262, 66%, 88%)
CMYKcmyk(41.8%, 66.2%, 0%, 11.8%)
CIE-LABlab(46.22, 54.44, -67.66)
CIE-LCHlch(46.22, 86.84, 308.82°)
OKLaboklab(56.01% 0.0926 -0.1933)
OKLCHoklch(56.01% 0.214 295.6)
XYZxyz(25.5315, 15.4298, 72.8526)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834CE1 #AAE14C
analogous
#4C60E1 #834CE1 #CE4CE1
triadic
#834CE1 #E1834C #4CE183
tetradic
#834CE1 #E14C60 #AAE14C #4CE1CE
square
#834CE1 #E14C60 #AAE14C #4CE1CE
split-complementary
#834CE1 #E1CE4C #60E14C
monochromatic
#491A99 #6222CD #834CE1 #A780EA #CCB5F3

Accessibility & contrast

On white

5.14
#834CE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#834CE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834CE1
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834CE1#FFFFFF#000000##FFFFFF
##834CE11.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE6
Deuteranopia (green-blind)
#006BDE
Tritanopia (blue-blind)
#6A7090
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #834ce1;
/* rgb */ color: rgb(131, 76, 225);
/* oklch */ color: oklch(56.0% 0.214 295.6);
Tailwind
colors: {
  custom: {
    50: '#ae81eb',
    500: '#834ce1',
    950: '#000000',
  },
}
SCSS
$custom: #834ce1;
$custom-light: #ae81eb;
$custom-dark: #000000;
JSON
{
  "hex": "#834ce1",
  "rgb": {
    "r": 131,
    "g": 76,
    "b": 225
  },
  "hsl": {
    "h": 262.148,
    "s": 71.292,
    "l": 59.02
  },
  "oklch": {
    "l": 0.56012,
    "c": 0.2143,
    "h": 295.6
  },
  "luminance": 0.1543
}

Semantic roles & 50–950 ramp

primary
#834CE1
secondary
#CCE2A7
accent
#EE3AAB
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #834CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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