#834FD2#834FD2

#834FD2 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.3% C 0.193 H 298.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#834FD2
RGBrgb(131, 79, 210)
HSLhsl(264, 59%, 57%)
HSVhsv(264, 62%, 82%)
CMYKcmyk(37.6%, 62.4%, 0%, 17.6%)
CIE-LABlab(45.73, 49.01, -59.89)
CIE-LCHlch(45.73, 77.38, 309.30°)
OKLaboklab(55.33% 0.0909 -0.1704)
OKLCHoklch(55.33% 0.193 298.1)
XYZxyz(23.7860, 15.0701, 62.6159)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834FD2 #9ED24F
analogous
#4F5DD2 #834FD2 #C54FD2
triadic
#834FD2 #D2834F #4FD283
tetradic
#834FD2 #D24F5D #9ED24F #4FD2C5
square
#834FD2 #D24F5D #9ED24F #4FD2C5
split-complementary
#834FD2 #D2C54F #5DD24F
monochromatic
#492285 #642EB5 #834FD2 #A580DE #C8B0EB

Accessibility & contrast

On white

5.23
#834FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#834FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834FD2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834FD2#FFFFFF#000000##FFFFFF
##834FD21.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#0C6BCF
Tritanopia (blue-blind)
#716C89
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #834fd2;
/* rgb */ color: rgb(131, 79, 210);
/* oklch */ color: oklch(55.3% 0.193 298.1);
Tailwind
colors: {
  custom: {
    50: '#ac83e1',
    500: '#834fd2',
    950: '#000000',
  },
}
SCSS
$custom: #834fd2;
$custom-light: #ac83e1;
$custom-dark: #000000;
JSON
{
  "hex": "#834fd2",
  "rgb": {
    "r": 131,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 263.817,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55325,
    "c": 0.19314,
    "h": 298.1
  },
  "luminance": 0.1507
}

Semantic roles & 50–950 ramp

primary
#834FD2
secondary
#C4D9A4
accent
#E245A4
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #834FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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