#835CEB#835CEB

#835CEB is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.0% C 0.206 H 291.4°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#835CEB
RGBrgb(131, 92, 235)
HSLhsl(256, 78%, 64%)
HSVhsv(256, 61%, 92%)
CMYKcmyk(44.3%, 60.9%, 0%, 7.8%)
CIE-LABlab(50.07, 48.62, -67.06)
CIE-LCHlch(50.07, 82.82, 305.94°)
OKLaboklab(59.02% 0.0749 -0.1915)
OKLCHoklch(59.02% 0.206 291.4)
XYZxyz(28.1784, 18.4768, 80.6628)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835CEB #C4EB5C
analogous
#5C7DEB #835CEB #CB5CEB
triadic
#835CEB #EB835C #5CEB83
tetradic
#835CEB #EB5C7D #C4EB5C #5CEBCB
square
#835CEB #EB5C7D #C4EB5C #5CEBCB
split-complementary
#835CEB #EBCB5C #7DEB5C
monochromatic
#4216B6 #5A25E4 #835CEB #AC93F2 #D6C9F8

Accessibility & contrast

On white

4.47
#835CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#835CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #835CEB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835CEB#FFFFFF#000000##000000
##835CEB1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #835ceb;
/* rgb */ color: rgb(131, 92, 235);
/* oklch */ color: oklch(59.0% 0.206 291.4);
Tailwind
colors: {
  custom: {
    50: '#ae8cf2',
    500: '#835ceb',
    950: '#000000',
  },
}
SCSS
$custom: #835ceb;
$custom-light: #ae8cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#835ceb",
  "rgb": {
    "r": 131,
    "g": 92,
    "b": 235
  },
  "hsl": {
    "h": 256.364,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59023,
    "c": 0.20564,
    "h": 291.4
  },
  "luminance": 0.18478
}

Semantic roles & 50–950 ramp

primary
#835CEB
secondary
#DDEAB8
accent
#DA0BA2
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #835CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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