#834CE2#834CE2

#834CE2 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.1% C 0.215 H 295.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#834CE2
RGBrgb(131, 76, 226)
HSLhsl(262, 72%, 59%)
HSVhsv(262, 66%, 89%)
CMYKcmyk(42%, 66.4%, 0%, 11.4%)
CIE-LABlab(46.29, 54.69, -68.10)
CIE-LCHlch(46.29, 87.35, 308.77°)
OKLaboklab(56.09% 0.0925 -0.1946)
OKLCHoklch(56.09% 0.215 295.4)
XYZxyz(25.6683, 15.4846, 73.5732)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834CE2 #ABE24C
analogous
#4C60E2 #834CE2 #CE4CE2
triadic
#834CE2 #E2834C #4CE283
tetradic
#834CE2 #E24C60 #ABE24C #4CE2CE
square
#834CE2 #E24C60 #ABE24C #4CE2CE
split-complementary
#834CE2 #E2CE4C #60E24C
monochromatic
#49199B #6122CF #834CE2 #A781EB #CCB5F3

Accessibility & contrast

On white

5.13
#834CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#834CE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834CE2
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834CE2#FFFFFF#000000##FFFFFF
##834CE21.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE7
Deuteranopia (green-blind)
#006BDF
Tritanopia (blue-blind)
#6A7091
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #834ce2;
/* rgb */ color: rgb(131, 76, 226);
/* oklch */ color: oklch(56.1% 0.215 295.4);
Tailwind
colors: {
  custom: {
    50: '#ae81ec',
    500: '#834ce2',
    950: '#000000',
  },
}
SCSS
$custom: #834ce2;
$custom-light: #ae81ec;
$custom-dark: #000000;
JSON
{
  "hex": "#834ce2",
  "rgb": {
    "r": 131,
    "g": 76,
    "b": 226
  },
  "hsl": {
    "h": 262,
    "s": 72.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56088,
    "c": 0.21543,
    "h": 295.4
  },
  "luminance": 0.15485
}

Semantic roles & 50–950 ramp

primary
#834CE2
secondary
#CDE2A8
accent
#EF39AC
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #834CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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