#834ECF#834ECF

#834ECF is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.0% C 0.191 H 298.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#834ECF
RGBrgb(131, 78, 207)
HSLhsl(265, 57%, 56%)
HSVhsv(265, 62%, 81%)
CMYKcmyk(36.7%, 62.3%, 0%, 18.8%)
CIE-LABlab(45.33, 48.77, -58.81)
CIE-LCHlch(45.33, 76.40, 309.67°)
OKLaboklab(54.97% 0.0922 -0.1672)
OKLCHoklch(54.97% 0.191 298.9)
XYZxyz(23.3441, 14.7788, 60.6421)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#834ECF #9ACF4E
analogous
#4E59CF #834ECF #C34ECF
triadic
#834ECF #CF834E #4ECF83
tetradic
#834ECF #CF4E59 #9ACF4E #4ECFC3
square
#834ECF #CF4E59 #9ACF4E #4ECFC3
split-complementary
#834ECF #CFC34E #59CF4E
monochromatic
#492380 #6430B0 #834ECF #A57EDC #C6AEE9

Accessibility & contrast

On white

5.31
#834ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#834ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #834ECF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##834ECF#FFFFFF#000000##FFFFFF
##834ECF1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#136ACC
Tritanopia (blue-blind)
#726A87
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #834ecf;
/* rgb */ color: rgb(131, 78, 207);
/* oklch */ color: oklch(55.0% 0.191 298.9);
Tailwind
colors: {
  custom: {
    50: '#ac82de',
    500: '#834ecf',
    950: '#000000',
  },
}
SCSS
$custom: #834ecf;
$custom-light: #ac82de;
$custom-dark: #000000;
JSON
{
  "hex": "#834ecf",
  "rgb": {
    "r": 131,
    "g": 78,
    "b": 207
  },
  "hsl": {
    "h": 264.651,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54971,
    "c": 0.19099,
    "h": 298.9
  },
  "luminance": 0.14779
}

Semantic roles & 50–950 ramp

primary
#834ECF
secondary
#C1D7A2
accent
#E147A2
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #834ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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