#834FDB#834FDB

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

Color values

HEX#834FDB
RGBrgb(131, 79, 219)
HSLhsl(262, 66%, 58%)
HSVhsv(262, 64%, 86%)
CMYKcmyk(40.2%, 63.9%, 0%, 14.1%)
CIE-LABlab(46.35, 51.33, -64.02)
CIE-LCHlch(46.35, 82.06, 308.72°)
OKLaboklab(55.97% 0.0901 -0.1826)
OKLCHoklch(55.97% 0.204 296.3)
XYZxyz(24.9389, 15.5312, 68.6880)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834FDB #A7DB4F
analogous
#4F61DB #834FDB #C94FDB
triadic
#834FDB #DB834F #4FDB83
tetradic
#834FDB #DB4F61 #A7DB4F #4FDBC9
square
#834FDB #DB4F61 #A7DB4F #4FDBC9
split-complementary
#834FDB #DBC94F #61DB4F
monochromatic
#491E92 #6228C5 #834FDB #A782E5 #CBB5F0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##834FDB#FFFFFF#000000##FFFFFF
##834FDB1.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)
#006FDF
Deuteranopia (green-blind)
#006CD8
Tritanopia (blue-blind)
#6D6F8E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #834fdb;
/* rgb */ color: rgb(131, 79, 219);
/* oklch */ color: oklch(56.0% 0.204 296.3);
Tailwind
colors: {
  custom: {
    50: '#ad83e7',
    500: '#834fdb',
    950: '#000000',
  },
}
SCSS
$custom: #834fdb;
$custom-light: #ad83e7;
$custom-dark: #000000;
JSON
{
  "hex": "#834fdb",
  "rgb": {
    "r": 131,
    "g": 79,
    "b": 219
  },
  "hsl": {
    "h": 262.286,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.55974,
    "c": 0.20362,
    "h": 296.3
  },
  "luminance": 0.15532
}

Semantic roles & 50–950 ramp

primary
#834FDB
secondary
#CADFA7
accent
#E93FAA
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #834FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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