#835BE4#835BE4

#835BE4 is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.4% C 0.198 H 292.6°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#835BE4
RGBrgb(131, 91, 228)
HSLhsl(258, 72%, 63%)
HSVhsv(258, 60%, 89%)
CMYKcmyk(42.5%, 60.1%, 0%, 10.6%)
CIE-LABlab(49.38, 47.26, -64.22)
CIE-LCHlch(49.38, 79.74, 306.35°)
OKLaboklab(58.37% 0.0764 -0.1832)
OKLCHoklch(58.37% 0.198 292.6)
XYZxyz(27.1009, 17.9081, 75.4125)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835BE4 #BCE45B
analogous
#5B78E4 #835BE4 #C75BE4
triadic
#835BE4 #E4835B #5BE483
tetradic
#835BE4 #E45B78 #BCE45B #5BE4C7
square
#835BE4 #E45B78 #BCE45B #5BE4C7
split-complementary
#835BE4 #E4C75B #78E45B
monochromatic
#451CA9 #5B26DB #835BE4 #AB90ED #D2C4F5

Accessibility & contrast

On white

4.58
#835BE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#835BE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #835BE4
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835BE4#FFFFFF#000000##000000
##835BE41.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E8
Deuteranopia (green-blind)
#0073E1
Tritanopia (blue-blind)
#687A97
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #835be4;
/* rgb */ color: rgb(131, 91, 228);
/* oklch */ color: oklch(58.4% 0.198 292.6);
Tailwind
colors: {
  custom: {
    50: '#ad8bed',
    500: '#835be4',
    950: '#000000',
  },
}
SCSS
$custom: #835be4;
$custom-light: #ad8bed;
$custom-dark: #000000;
JSON
{
  "hex": "#835be4",
  "rgb": {
    "r": 131,
    "g": 91,
    "b": 228
  },
  "hsl": {
    "h": 257.518,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58372,
    "c": 0.19846,
    "h": 292.6
  },
  "luminance": 0.17909
}

Semantic roles & 50–950 ramp

primary
#835BE4
secondary
#D8E6B4
accent
#D4129B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #835BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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