#834CDE#834CDE

#834CDE is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.8% C 0.211 H 296.2°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#834CDE
RGBrgb(131, 76, 222)
HSLhsl(263, 69%, 58%)
HSVhsv(263, 66%, 87%)
CMYKcmyk(41%, 65.8%, 0%, 12.9%)
CIE-LABlab(46.00, 53.66, -66.31)
CIE-LCHlch(46.00, 85.30, 308.98°)
OKLaboklab(55.79% 0.093 -0.1893)
OKLCHoklch(55.79% 0.211 296.2)
XYZxyz(25.1259, 15.2676, 70.7162)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834CDE #A7DE4C
analogous
#4C5EDE #834CDE #CC4CDE
triadic
#834CDE #DE834C #4CDE83
tetradic
#834CDE #DE4C5E #A7DE4C #4CDECC
square
#834CDE #DE4C5E #A7DE4C #4CDECC
split-complementary
#834CDE #DECC4C #5EDE4C
monochromatic
#491B94 #6225C8 #834CDE #A780E8 #CBB3F1

Accessibility & contrast

On white

5.18
#834CDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#834CDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834CDE
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834CDE#FFFFFF#000000##FFFFFF
##834CDE1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE2
Deuteranopia (green-blind)
#006BDB
Tritanopia (blue-blind)
#6C6E8F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #834cde;
/* rgb */ color: rgb(131, 76, 222);
/* oklch */ color: oklch(55.8% 0.211 296.2);
Tailwind
colors: {
  custom: {
    50: '#ae81e9',
    500: '#834cde',
    950: '#000000',
  },
}
SCSS
$custom: #834cde;
$custom-light: #ae81e9;
$custom-dark: #000000;
JSON
{
  "hex": "#834cde",
  "rgb": {
    "r": 131,
    "g": 76,
    "b": 222
  },
  "hsl": {
    "h": 262.603,
    "s": 68.868,
    "l": 58.431
  },
  "oklch": {
    "l": 0.55786,
    "c": 0.21089,
    "h": 296.2
  },
  "luminance": 0.15268
}

Semantic roles & 50–950 ramp

primary
#834CDE
secondary
#CAE0A6
accent
#EC3CAA
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #834CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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