#835ED8#835ED8

#835ED8 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.0% C 0.179 H 294.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#835ED8
RGBrgb(131, 94, 216)
HSLhsl(258, 61%, 61%)
HSVhsv(258, 56%, 85%)
CMYKcmyk(39.4%, 56.5%, 0%, 15.3%)
CIE-LABlab(49.24, 42.35, -57.66)
CIE-LCHlch(49.24, 71.54, 306.30°)
OKLaboklab(58.02% 0.0732 -0.1639)
OKLCHoklch(58.02% 0.179 294.1)
XYZxyz(25.7542, 17.7880, 67.0289)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835ED8 #B3D85E
analogous
#5E76D8 #835ED8 #C05ED8
triadic
#835ED8 #D8835E #5ED883
tetradic
#835ED8 #D85E76 #B3D85E #5ED8C0
square
#835ED8 #D85E76 #B3D85E #5ED8C0
split-complementary
#835ED8 #D8C05E #76D85E
monochromatic
#472597 #5F31C8 #835ED8 #A98FE4 #CFC1F0

Accessibility & contrast

On white

4.61
#835ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#835ED8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #835ED8
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835ED8#FFFFFF#000000##FFFFFF
##835ED81.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C76DC
Deuteranopia (green-blind)
#2A73D5
Tritanopia (blue-blind)
#6D7892
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #835ed8;
/* rgb */ color: rgb(131, 94, 216);
/* oklch */ color: oklch(58.0% 0.179 294.1);
Tailwind
colors: {
  custom: {
    50: '#ac8de5',
    500: '#835ed8',
    950: '#000000',
  },
}
SCSS
$custom: #835ed8;
$custom-light: #ac8de5;
$custom-dark: #000000;
JSON
{
  "hex": "#835ed8",
  "rgb": {
    "r": 131,
    "g": 94,
    "b": 216
  },
  "hsl": {
    "h": 258.197,
    "s": 61,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58015,
    "c": 0.17948,
    "h": 294.1
  },
  "luminance": 0.17789
}

Semantic roles & 50–950 ramp

primary
#835ED8
secondary
#D2E0B2
accent
#C91D95
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #835ED8

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

Preview Lab → · Contrast checker → · Palette generator →

#835ED8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva