#835BEB#835BEB

#835BEB is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 58.9% C 0.207 H 291.5°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#835BEB
RGBrgb(131, 91, 235)
HSLhsl(257, 78%, 64%)
HSVhsv(257, 61%, 92%)
CMYKcmyk(44.3%, 61.3%, 0%, 7.8%)
CIE-LABlab(49.86, 49.16, -67.39)
CIE-LCHlch(49.86, 83.42, 306.11°)
OKLaboklab(58.87% 0.076 -0.1925)
OKLCHoklch(58.87% 0.207 291.5)
XYZxyz(28.0924, 18.3047, 80.6342)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835BEB #C3EB5B
analogous
#5B7BEB #835BEB #CB5BEB
triadic
#835BEB #EB835B #5BEB83
tetradic
#835BEB #EB5B7B #C3EB5B #5BEBCB
square
#835BEB #EB5B7B #C3EB5B #5BEBCB
split-complementary
#835BEB #EBCB5B #7BEB5B
monochromatic
#4216B5 #5A24E4 #835BEB #AC92F2 #D5C8F8

Accessibility & contrast

On white

4.51
#835BEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#835BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #835BEB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835BEB#FFFFFF#000000##000000
##835BEB1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F0
Deuteranopia (green-blind)
#0074E8
Tritanopia (blue-blind)
#647C9B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #835beb;
/* rgb */ color: rgb(131, 91, 235);
/* oklch */ color: oklch(58.9% 0.207 291.5);
Tailwind
colors: {
  custom: {
    50: '#ae8bf2',
    500: '#835beb',
    950: '#000000',
  },
}
SCSS
$custom: #835beb;
$custom-light: #ae8bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#835beb",
  "rgb": {
    "r": 131,
    "g": 91,
    "b": 235
  },
  "hsl": {
    "h": 256.667,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.58873,
    "c": 0.20695,
    "h": 291.5
  },
  "luminance": 0.18306
}

Semantic roles & 50–950 ramp

primary
#835BEB
secondary
#DCEAB8
accent
#DB0BA1
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #835BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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