#834CCB#834CCB

#834CCB is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.4% C 0.189 H 300.1°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#834CCB
RGBrgb(131, 76, 203)
HSLhsl(266, 55%, 55%)
HSVhsv(266, 63%, 80%)
CMYKcmyk(35.5%, 62.6%, 0%, 20.4%)
CIE-LABlab(44.67, 48.81, -57.57)
CIE-LCHlch(44.67, 75.48, 310.29°)
OKLaboklab(54.41% 0.0948 -0.1636)
OKLCHoklch(54.41% 0.189 300.1)
XYZxyz(22.7214, 14.3058, 58.0526)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834CCB #94CB4C
analogous
#4C55CB #834CCB #C24CCB
triadic
#834CCB #CB834C #4CCB83
tetradic
#834CCB #CB4C55 #94CB4C #4CCBC2
square
#834CCB #CB4C55 #94CB4C #4CCBC2
split-complementary
#834CCB #CBC24C #55CB4C
monochromatic
#492379 #6531A9 #834CCB #A47BD9 #C5ABE7

Accessibility & contrast

On white

5.44
#834CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#834CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834CCB
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834CCB#FFFFFF#000000##FFFFFF
##834CCB1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#1969C8
Tritanopia (blue-blind)
#736884
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #834ccb;
/* rgb */ color: rgb(131, 76, 203);
/* oklch */ color: oklch(54.4% 0.189 300.1);
Tailwind
colors: {
  custom: {
    50: '#ac81dc',
    500: '#834ccb',
    950: '#000000',
  },
}
SCSS
$custom: #834ccb;
$custom-light: #ac81dc;
$custom-dark: #000000;
JSON
{
  "hex": "#834ccb",
  "rgb": {
    "r": 131,
    "g": 76,
    "b": 203
  },
  "hsl": {
    "h": 265.984,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54405,
    "c": 0.18909,
    "h": 300.1
  },
  "luminance": 0.14306
}

Semantic roles & 50–950 ramp

primary
#834CCB
secondary
#BDD49F
accent
#DE499E
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #834CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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