#834CCC#834CCC

#834CCC is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.5% C 0.190 H 299.9°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#834CCC
RGBrgb(131, 76, 204)
HSLhsl(266, 56%, 55%)
HSVhsv(266, 63%, 80%)
CMYKcmyk(35.8%, 62.7%, 0%, 20%)
CIE-LABlab(44.74, 49.07, -58.04)
CIE-LCHlch(44.74, 76.00, 310.21°)
OKLaboklab(54.48% 0.0947 -0.165)
OKLCHoklch(54.48% 0.19 299.9)
XYZxyz(22.8409, 14.3536, 58.6822)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834CCC #95CC4C
analogous
#4C55CC #834CCC #C34CCC
triadic
#834CCC #CC834C #4CCC83
tetradic
#834CCC #CC4C55 #95CC4C #4CCCC3
square
#834CCC #CC4C55 #95CC4C #4CCCC3
split-complementary
#834CCC #CCC34C #55CC4C
monochromatic
#49237B #6531AA #834CCC #A47CDA #C5ABE7

Accessibility & contrast

On white

5.43
#834CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#834CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834CCC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834CCC#FFFFFF#000000##FFFFFF
##834CCC1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#1669C9
Tritanopia (blue-blind)
#736885
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #834ccc;
/* rgb */ color: rgb(131, 76, 204);
/* oklch */ color: oklch(54.5% 0.190 299.9);
Tailwind
colors: {
  custom: {
    50: '#ac81dc',
    500: '#834ccc',
    950: '#000000',
  },
}
SCSS
$custom: #834ccc;
$custom-light: #ac81dc;
$custom-dark: #000000;
JSON
{
  "hex": "#834ccc",
  "rgb": {
    "r": 131,
    "g": 76,
    "b": 204
  },
  "hsl": {
    "h": 265.781,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54476,
    "c": 0.19024,
    "h": 299.9
  },
  "luminance": 0.14354
}

Semantic roles & 50–950 ramp

primary
#834CCC
secondary
#BED59F
accent
#DF499E
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #834CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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