#835CE5#835CE5

#835CE5 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.6% C 0.198 H 292.3°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#835CE5
RGBrgb(131, 92, 229)
HSLhsl(257, 72%, 63%)
HSVhsv(257, 60%, 90%)
CMYKcmyk(42.8%, 59.8%, 0%, 10.2%)
CIE-LABlab(49.66, 46.98, -64.34)
CIE-LCHlch(49.66, 79.67, 306.14°)
OKLaboklab(58.6% 0.0752 -0.1835)
OKLCHoklch(58.6% 0.198 292.3)
XYZxyz(27.3262, 18.1359, 76.1744)
Luminance0.1814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835CE5 #BEE55C
analogous
#5C79E5 #835CE5 #C75CE5
triadic
#835CE5 #E5835C #5CE583
tetradic
#835CE5 #E55C79 #BEE55C #5CE5C7
square
#835CE5 #E55C79 #BEE55C #5CE5C7
split-complementary
#835CE5 #E5C75C #79E55C
monochromatic
#441BAB #5B27DD #835CE5 #AB91ED #D3C6F6

Accessibility & contrast

On white

4.54
#835CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#835CE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #835CE5
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835CE5#FFFFFF#000000##000000
##835CE51.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E9
Deuteranopia (green-blind)
#0073E2
Tritanopia (blue-blind)
#677B98
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #835ce5;
/* rgb */ color: rgb(131, 92, 229);
/* oklch */ color: oklch(58.6% 0.198 292.3);
Tailwind
colors: {
  custom: {
    50: '#ad8cee',
    500: '#835ce5',
    950: '#000000',
  },
}
SCSS
$custom: #835ce5;
$custom-light: #ad8cee;
$custom-dark: #000000;
JSON
{
  "hex": "#835ce5",
  "rgb": {
    "r": 131,
    "g": 92,
    "b": 229
  },
  "hsl": {
    "h": 257.08,
    "s": 72.487,
    "l": 62.941
  },
  "oklch": {
    "l": 0.58595,
    "c": 0.19834,
    "h": 292.3
  },
  "luminance": 0.18137
}

Semantic roles & 50–950 ramp

primary
#835CE5
secondary
#D9E7B6
accent
#D5119D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #835CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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