#835CD5#835CD5

#835CD5 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.5% C 0.179 H 295.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#835CD5
RGBrgb(131, 92, 213)
HSLhsl(259, 59%, 60%)
HSVhsv(259, 57%, 84%)
CMYKcmyk(38.5%, 56.8%, 0%, 16.5%)
CIE-LABlab(48.61, 42.67, -56.95)
CIE-LCHlch(48.61, 71.17, 306.84°)
OKLaboklab(57.5% 0.0756 -0.1618)
OKLCHoklch(57.5% 0.179 295)
XYZxyz(25.1943, 17.2832, 64.9465)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835CD5 #AED55C
analogous
#5C72D5 #835CD5 #C05CD5
triadic
#835CD5 #D5835C #5CD583
tetradic
#835CD5 #D55C72 #AED55C #5CD5C0
square
#835CD5 #D55C72 #AED55C #5CD5C0
split-complementary
#835CD5 #D5C05C #72D55C
monochromatic
#482591 #6032C2 #835CD5 #A88DE2 #CDBDEE

Accessibility & contrast

On white

4.71
#835CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#835CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #835CD5
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835CD5#FFFFFF#000000##FFFFFF
##835CD51.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B74D9
Deuteranopia (green-blind)
#2B72D2
Tritanopia (blue-blind)
#6F7690
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #835cd5;
/* rgb */ color: rgb(131, 92, 213);
/* oklch */ color: oklch(57.5% 0.179 295.0);
Tailwind
colors: {
  custom: {
    50: '#ac8be3',
    500: '#835cd5',
    950: '#000000',
  },
}
SCSS
$custom: #835cd5;
$custom-light: #ac8be3;
$custom-dark: #000000;
JSON
{
  "hex": "#835cd5",
  "rgb": {
    "r": 131,
    "g": 92,
    "b": 213
  },
  "hsl": {
    "h": 259.339,
    "s": 59.024,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57495,
    "c": 0.17859,
    "h": 295
  },
  "luminance": 0.17284
}

Semantic roles & 50–950 ramp

primary
#835CD5
secondary
#CFDEAF
accent
#E246B0
background
#FAF8FE
surface
#F5F0FC
border
#CFCBD5
text
#110C15
muted
#807D84

Preview Lab

Preview with #835CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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