#835BE7#835BE7

#835BE7 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.6% C 0.202 H 292.2°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#835BE7
RGBrgb(131, 91, 231)
HSLhsl(257, 74%, 63%)
HSVhsv(257, 61%, 91%)
CMYKcmyk(43.3%, 60.6%, 0%, 9.4%)
CIE-LABlab(49.59, 48.08, -65.58)
CIE-LCHlch(49.59, 81.32, 306.24°)
OKLaboklab(58.59% 0.0762 -0.1872)
OKLCHoklch(58.59% 0.202 292.2)
XYZxyz(27.5210, 18.0761, 77.6248)
Luminance0.1808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835BE7 #BFE75B
analogous
#5B79E7 #835BE7 #C95BE7
triadic
#835BE7 #E7835B #5BE783
tetradic
#835BE7 #E75B79 #BFE75B #5BE7C9
square
#835BE7 #E75B79 #BFE75B #5BE7C9
split-complementary
#835BE7 #E7C95B #79E75B
monochromatic
#4419AE #5B26DF #835BE7 #AB90EF #D4C6F7

Accessibility & contrast

On white

4.55
#835BE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#835BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #835BE7
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835BE7#FFFFFF#000000##000000
##835BE71.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EB
Deuteranopia (green-blind)
#0073E4
Tritanopia (blue-blind)
#667B98
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #835be7;
/* rgb */ color: rgb(131, 91, 231);
/* oklch */ color: oklch(58.6% 0.202 292.2);
Tailwind
colors: {
  custom: {
    50: '#ae8bef',
    500: '#835be7',
    950: '#000000',
  },
}
SCSS
$custom: #835be7;
$custom-light: #ae8bef;
$custom-dark: #000000;
JSON
{
  "hex": "#835be7",
  "rgb": {
    "r": 131,
    "g": 91,
    "b": 231
  },
  "hsl": {
    "h": 257.143,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.58586,
    "c": 0.20211,
    "h": 292.2
  },
  "luminance": 0.18077
}

Semantic roles & 50–950 ramp

primary
#835BE7
secondary
#DAE8B6
accent
#D70F9E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #835BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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