#835CDF#835CDF

#835CDF is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.2% C 0.191 H 293.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#835CDF
RGBrgb(131, 92, 223)
HSLhsl(258, 67%, 62%)
HSVhsv(258, 59%, 87%)
CMYKcmyk(41.3%, 58.7%, 0%, 12.5%)
CIE-LABlab(49.26, 45.36, -61.59)
CIE-LCHlch(49.26, 76.49, 306.37°)
OKLaboklab(58.18% 0.0755 -0.1754)
OKLCHoklch(58.18% 0.191 293.3)
XYZxyz(26.5029, 17.8066, 71.8384)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835CDF #B8DF5C
analogous
#5C77DF #835CDF #C55CDF
triadic
#835CDF #DF835C #5CDF83
tetradic
#835CDF #DF5C77 #B8DF5C #5CDFC5
square
#835CDF #DF5C77 #B8DF5C #5CDFC5
split-complementary
#835CDF #DFC55C #77DF5C
monochromatic
#4620A1 #5C2AD4 #835CDF #AA8FE9 #D1C2F3

Accessibility & contrast

On white

4.60
#835CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#835CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #835CDF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835CDF#FFFFFF#000000##FFFFFF
##835CDF1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#1573DC
Tritanopia (blue-blind)
#6A7995
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #835cdf;
/* rgb */ color: rgb(131, 92, 223);
/* oklch */ color: oklch(58.2% 0.191 293.3);
Tailwind
colors: {
  custom: {
    50: '#ad8cea',
    500: '#835cdf',
    950: '#000000',
  },
}
SCSS
$custom: #835cdf;
$custom-light: #ad8cea;
$custom-dark: #000000;
JSON
{
  "hex": "#835cdf",
  "rgb": {
    "r": 131,
    "g": 92,
    "b": 223
  },
  "hsl": {
    "h": 257.863,
    "s": 67.179,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58176,
    "c": 0.19099,
    "h": 293.3
  },
  "luminance": 0.17807
}

Semantic roles & 50–950 ramp

primary
#835CDF
secondary
#D5E4B3
accent
#CF1698
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #835CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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