#834FCB#834FCB

#834FCB is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.8% C 0.185 H 299.6°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#834FCB
RGBrgb(131, 79, 203)
HSLhsl(265, 54%, 55%)
HSVhsv(265, 61%, 80%)
CMYKcmyk(35.5%, 61.1%, 0%, 20.4%)
CIE-LABlab(45.26, 47.22, -56.62)
CIE-LCHlch(45.26, 73.73, 309.83°)
OKLaboklab(54.84% 0.0913 -0.1608)
OKLCHoklch(54.84% 0.185 299.6)
XYZxyz(22.9329, 14.7288, 58.1231)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834FCB #97CB4F
analogous
#4F59CB #834FCB #C14FCB
triadic
#834FCB #CB834F #4FCB83
tetradic
#834FCB #CB4F59 #97CB4F #4FCBC1
square
#834FCB #CB4F59 #97CB4F #4FCBC1
split-complementary
#834FCB #CBC14F #59CB4F
monochromatic
#49247B #6532AA #834FCB #A47ED9 #C6ADE7

Accessibility & contrast

On white

5.32
#834FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#834FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834FCB
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834FCB#FFFFFF#000000##FFFFFF
##834FCB1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#206AC8
Tritanopia (blue-blind)
#736A86
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #834fcb;
/* rgb */ color: rgb(131, 79, 203);
/* oklch */ color: oklch(54.8% 0.185 299.6);
Tailwind
colors: {
  custom: {
    50: '#ac83dc',
    500: '#834fcb',
    950: '#000000',
  },
}
SCSS
$custom: #834fcb;
$custom-light: #ac83dc;
$custom-dark: #000000;
JSON
{
  "hex": "#834fcb",
  "rgb": {
    "r": 131,
    "g": 79,
    "b": 203
  },
  "hsl": {
    "h": 265.161,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54835,
    "c": 0.18492,
    "h": 299.6
  },
  "luminance": 0.14729
}

Semantic roles & 50–950 ramp

primary
#834FCB
secondary
#BFD5A1
accent
#DE4AA0
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #834FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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