#835CD8#835CD8

#835CD8 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.7% C 0.182 H 294.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#835CD8
RGBrgb(131, 92, 216)
HSLhsl(259, 61%, 60%)
HSVhsv(259, 57%, 85%)
CMYKcmyk(39.4%, 57.4%, 0%, 15.3%)
CIE-LABlab(48.81, 43.48, -58.35)
CIE-LCHlch(48.81, 72.77, 306.69°)
OKLaboklab(57.7% 0.0756 -0.1659)
OKLCHoklch(57.7% 0.182 294.5)
XYZxyz(25.5786, 17.4369, 66.9704)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835CD8 #B1D85C
analogous
#5C73D8 #835CD8 #C15CD8
triadic
#835CD8 #D8835C #5CD883
tetradic
#835CD8 #D85C73 #B1D85C #5CD8C1
square
#835CD8 #D85C73 #B1D85C #5CD8C1
split-complementary
#835CD8 #D8C15C #73D85C
monochromatic
#482496 #5F30C7 #835CD8 #A98DE4 #CEBFF0

Accessibility & contrast

On white

4.68
#835CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#835CD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #835CD8
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835CD8#FFFFFF#000000##FFFFFF
##835CD81.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1375DC
Deuteranopia (green-blind)
#2572D5
Tritanopia (blue-blind)
#6D7791
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #835cd8;
/* rgb */ color: rgb(131, 92, 216);
/* oklch */ color: oklch(57.7% 0.182 294.5);
Tailwind
colors: {
  custom: {
    50: '#ac8be5',
    500: '#835cd8',
    950: '#000000',
  },
}
SCSS
$custom: #835cd8;
$custom-light: #ac8be5;
$custom-dark: #000000;
JSON
{
  "hex": "#835cd8",
  "rgb": {
    "r": 131,
    "g": 92,
    "b": 216
  },
  "hsl": {
    "h": 258.871,
    "s": 61.386,
    "l": 60.392
  },
  "oklch": {
    "l": 0.57697,
    "c": 0.18233,
    "h": 294.5
  },
  "luminance": 0.17437
}

Semantic roles & 50–950 ramp

primary
#835CD8
secondary
#D1E0B0
accent
#C91C93
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #835CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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