#834CCE#834CCE

#834CCE is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.6% C 0.193 H 299.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#834CCE
RGBrgb(131, 76, 206)
HSLhsl(265, 57%, 55%)
HSVhsv(265, 63%, 81%)
CMYKcmyk(36.4%, 63.1%, 0%, 19.2%)
CIE-LABlab(44.87, 49.57, -58.97)
CIE-LCHlch(44.87, 77.04, 310.05°)
OKLaboklab(54.62% 0.0946 -0.1677)
OKLCHoklch(54.62% 0.193 299.4)
XYZxyz(23.0823, 14.4502, 59.9536)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834CCE #97CE4C
analogous
#4C56CE #834CCE #C44CCE
triadic
#834CCE #CE834C #4CCE83
tetradic
#834CCE #CE4C56 #97CE4C #4CCEC4
square
#834CCE #CE4C56 #97CE4C #4CCEC4
split-complementary
#834CCE #CEC44C #56CE4C
monochromatic
#49227D #652FAD #834CCE #A47CDB #C6ACE8

Accessibility & contrast

On white

5.40
#834CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#834CCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834CCE
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834CCE#FFFFFF#000000##FFFFFF
##834CCE1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#0F69CB
Tritanopia (blue-blind)
#726986
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #834cce;
/* rgb */ color: rgb(131, 76, 206);
/* oklch */ color: oklch(54.6% 0.193 299.4);
Tailwind
colors: {
  custom: {
    50: '#ac81de',
    500: '#834cce',
    950: '#000000',
  },
}
SCSS
$custom: #834cce;
$custom-light: #ac81de;
$custom-dark: #000000;
JSON
{
  "hex": "#834cce",
  "rgb": {
    "r": 131,
    "g": 76,
    "b": 206
  },
  "hsl": {
    "h": 265.385,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54617,
    "c": 0.19255,
    "h": 299.4
  },
  "luminance": 0.1445
}

Semantic roles & 50–950 ramp

primary
#834CCE
secondary
#BFD6A0
accent
#E048A0
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #834CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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