#835FEB#835FEB

#835FEB is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.5% C 0.202 H 290.8°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#835FEB
RGBrgb(131, 95, 235)
HSLhsl(255, 78%, 65%)
HSVhsv(255, 60%, 92%)
CMYKcmyk(44.3%, 59.6%, 0%, 7.8%)
CIE-LABlab(50.70, 46.96, -66.04)
CIE-LCHlch(50.70, 81.04, 305.42°)
OKLaboklab(59.48% 0.0717 -0.1885)
OKLCHoklch(59.48% 0.202 290.8)
XYZxyz(28.4435, 19.0069, 80.7512)
Luminance0.1901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835FEB #C7EB5F
analogous
#5F81EB #835FEB #C95FEB
triadic
#835FEB #EB835F #5FEB83
tetradic
#835FEB #EB5F81 #C7EB5F #5FEBC9
square
#835FEB #EB5F81 #C7EB5F #5FEBC9
split-complementary
#835FEB #EBC95F #81EB5F
monochromatic
#4117B9 #5929E4 #835FEB #AD95F2 #D7CCF9

Accessibility & contrast

On white

4.37
#835FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#835FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #835FEB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835FEB#FFFFFF#000000##000000
##835FEB1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF0
Deuteranopia (green-blind)
#0076E8
Tritanopia (blue-blind)
#647F9C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #835feb;
/* rgb */ color: rgb(131, 95, 235);
/* oklch */ color: oklch(59.5% 0.202 290.8);
Tailwind
colors: {
  custom: {
    50: '#ae8ef2',
    500: '#835feb',
    950: '#000000',
  },
}
SCSS
$custom: #835feb;
$custom-light: #ae8ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#835feb",
  "rgb": {
    "r": 131,
    "g": 95,
    "b": 235
  },
  "hsl": {
    "h": 255.429,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.5948,
    "c": 0.2017,
    "h": 290.8
  },
  "luminance": 0.19008
}

Semantic roles & 50–950 ramp

primary
#835FEB
secondary
#DFEBBB
accent
#DA0BA5
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #835FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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