#834ED7#834ED7

#834ED7 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.5% C 0.200 H 297.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#834ED7
RGBrgb(131, 78, 215)
HSLhsl(263, 63%, 57%)
HSVhsv(263, 64%, 84%)
CMYKcmyk(39.1%, 63.7%, 0%, 15.7%)
CIE-LABlab(45.88, 50.82, -62.51)
CIE-LCHlch(45.88, 80.56, 309.11°)
OKLaboklab(55.54% 0.0916 -0.1781)
OKLCHoklch(55.54% 0.2 297.2)
XYZxyz(24.3471, 15.1800, 65.9241)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834ED7 #A2D74E
analogous
#4E5DD7 #834ED7 #C84ED7
triadic
#834ED7 #D7834E #4ED783
tetradic
#834ED7 #D74E5D #A2D74E #4ED7C8
square
#834ED7 #D74E5D #A2D74E #4ED7C8
split-complementary
#834ED7 #D7C84E #5DD74E
monochromatic
#491F8B #632BBD #834ED7 #A680E2 #C9B2EE

Accessibility & contrast

On white

5.20
#834ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#834ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834ED7
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834ED7#FFFFFF#000000##FFFFFF
##834ED71.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDB
Deuteranopia (green-blind)
#006BD4
Tritanopia (blue-blind)
#6F6D8C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #834ed7;
/* rgb */ color: rgb(131, 78, 215);
/* oklch */ color: oklch(55.5% 0.200 297.2);
Tailwind
colors: {
  custom: {
    50: '#ad82e4',
    500: '#834ed7',
    950: '#000000',
  },
}
SCSS
$custom: #834ed7;
$custom-light: #ad82e4;
$custom-dark: #000000;
JSON
{
  "hex": "#834ed7",
  "rgb": {
    "r": 131,
    "g": 78,
    "b": 215
  },
  "hsl": {
    "h": 263.212,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55543,
    "c": 0.20029,
    "h": 297.2
  },
  "luminance": 0.1518
}

Semantic roles & 50–950 ramp

primary
#834ED7
secondary
#C7DCA5
accent
#E642A7
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #834ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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