#835DEC#835DEC

#835DEC is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.2% C 0.206 H 291.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#835DEC
RGBrgb(131, 93, 236)
HSLhsl(256, 79%, 65%)
HSVhsv(256, 61%, 93%)
CMYKcmyk(44.5%, 60.6%, 0%, 7.5%)
CIE-LABlab(50.35, 48.34, -67.17)
CIE-LCHlch(50.35, 82.76, 305.74°)
OKLaboklab(59.25% 0.0738 -0.1918)
OKLCHoklch(59.25% 0.206 291)
XYZxyz(28.4105, 18.7092, 81.4549)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835DEC #C6EC5D
analogous
#5D7FEC #835DEC #CB5DEC
triadic
#835DEC #EC835D #5DEC83
tetradic
#835DEC #EC5D7F #C6EC5D #5DECCB
square
#835DEC #EC5D7F #C6EC5D #5DECCB
split-complementary
#835DEC #ECCB5D #7FEC5D
monochromatic
#4116B9 #5926E6 #835DEC #AD94F2 #D7CBF9

Accessibility & contrast

On white

4.43
#835DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#835DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #835DEC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835DEC#FFFFFF#000000##000000
##835DEC1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF1
Deuteranopia (green-blind)
#0075E9
Tritanopia (blue-blind)
#647E9C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #835dec;
/* rgb */ color: rgb(131, 93, 236);
/* oklch */ color: oklch(59.2% 0.206 291.0);
Tailwind
colors: {
  custom: {
    50: '#ae8cf3',
    500: '#835dec',
    950: '#000000',
  },
}
SCSS
$custom: #835dec;
$custom-light: #ae8cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#835dec",
  "rgb": {
    "r": 131,
    "g": 93,
    "b": 236
  },
  "hsl": {
    "h": 255.944,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.59246,
    "c": 0.20556,
    "h": 291
  },
  "luminance": 0.1871
}

Semantic roles & 50–950 ramp

primary
#835DEC
secondary
#DEEBBA
accent
#DB0AA4
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #835DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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