#834CE3#834CE3

#834CE3 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.2% C 0.217 H 295.2°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#834CE3
RGBrgb(131, 76, 227)
HSLhsl(262, 73%, 59%)
HSVhsv(262, 67%, 89%)
CMYKcmyk(42.3%, 66.5%, 0%, 11%)
CIE-LABlab(46.36, 54.95, -68.55)
CIE-LCHlch(46.36, 87.86, 308.72°)
OKLaboklab(56.16% 0.0923 -0.1959)
OKLCHoklch(56.16% 0.217 295.2)
XYZxyz(25.8059, 15.5396, 74.2980)
Luminance0.1554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834CE3 #ACE34C
analogous
#4C61E3 #834CE3 #CE4CE3
triadic
#834CE3 #E3834C #4CE383
tetradic
#834CE3 #E34C61 #ACE34C #4CE3CE
square
#834CE3 #E34C61 #ACE34C #4CE3CE
split-complementary
#834CE3 #E3CE4C #61E34C
monochromatic
#48189C #6121D1 #834CE3 #A881EB #CCB6F4

Accessibility & contrast

On white

5.11
#834CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#834CE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834CE3
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834CE3#FFFFFF#000000##FFFFFF
##834CE31.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE8
Deuteranopia (green-blind)
#006CE0
Tritanopia (blue-blind)
#697091
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #834ce3;
/* rgb */ color: rgb(131, 76, 227);
/* oklch */ color: oklch(56.2% 0.217 295.2);
Tailwind
colors: {
  custom: {
    50: '#ae82ed',
    500: '#834ce3',
    950: '#000000',
  },
}
SCSS
$custom: #834ce3;
$custom-light: #ae82ed;
$custom-dark: #000000;
JSON
{
  "hex": "#834ce3",
  "rgb": {
    "r": 131,
    "g": 76,
    "b": 227
  },
  "hsl": {
    "h": 261.854,
    "s": 72.947,
    "l": 59.412
  },
  "oklch": {
    "l": 0.56164,
    "c": 0.21656,
    "h": 295.2
  },
  "luminance": 0.1554
}

Semantic roles & 50–950 ramp

primary
#834CE3
secondary
#CDE3A8
accent
#F038AD
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #834CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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