#835BEC#835BEC

#835BEC is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 58.9% C 0.208 H 291.4°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#835BEC
RGBrgb(131, 91, 236)
HSLhsl(257, 79%, 64%)
HSVhsv(257, 61%, 93%)
CMYKcmyk(44.5%, 61.4%, 0%, 7.5%)
CIE-LABlab(49.93, 49.44, -67.84)
CIE-LCHlch(49.93, 83.94, 306.08°)
OKLaboklab(58.95% 0.0759 -0.1938)
OKLCHoklch(58.95% 0.208 291.4)
XYZxyz(28.2373, 18.3627, 81.3972)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835BEC #C4EC5B
analogous
#5B7CEC #835BEC #CC5BEC
triadic
#835BEC #EC835B #5BEC83
tetradic
#835BEC #EC5B7C #C4EC5B #5BECCC
square
#835BEC #EC5B7C #C4EC5B #5BECCC
split-complementary
#835BEC #ECCC5B #7CEC5B
monochromatic
#4215B7 #5A24E6 #835BEC #AC92F2 #D6C9F9

Accessibility & contrast

On white

4.49
#835BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#835BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #835BEC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835BEC#FFFFFF#000000##000000
##835BEC1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F1
Deuteranopia (green-blind)
#0074E9
Tritanopia (blue-blind)
#647D9B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #835bec;
/* rgb */ color: rgb(131, 91, 236);
/* oklch */ color: oklch(58.9% 0.208 291.4);
Tailwind
colors: {
  custom: {
    50: '#ae8bf3',
    500: '#835bec',
    950: '#000000',
  },
}
SCSS
$custom: #835bec;
$custom-light: #ae8bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#835bec",
  "rgb": {
    "r": 131,
    "g": 91,
    "b": 236
  },
  "hsl": {
    "h": 256.552,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.58946,
    "c": 0.20815,
    "h": 291.4
  },
  "luminance": 0.18364
}

Semantic roles & 50–950 ramp

primary
#835BEC
secondary
#DDEBB8
accent
#DC0AA2
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #835BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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