#835DD7#835DD7

#835DD7 is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.8% C 0.180 H 294.5°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#835DD7
RGBrgb(131, 93, 215)
HSLhsl(259, 60%, 60%)
HSVhsv(259, 57%, 84%)
CMYKcmyk(39.1%, 56.7%, 0%, 15.7%)
CIE-LABlab(48.96, 42.65, -57.54)
CIE-LCHlch(48.96, 71.62, 306.54°)
OKLaboklab(57.79% 0.0744 -0.1635)
OKLCHoklch(57.79% 0.18 294.5)
XYZxyz(25.5369, 17.5597, 66.3207)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835DD7 #B1D75D
analogous
#5D74D7 #835DD7 #C05DD7
triadic
#835DD7 #D7835D #5DD783
tetradic
#835DD7 #D75D74 #B1D75D #5DD7C0
square
#835DD7 #D75D74 #B1D75D #5DD7C0
split-complementary
#835DD7 #D7C05D #74D75D
monochromatic
#482595 #5F31C6 #835DD7 #A98EE3 #CEBFEF

Accessibility & contrast

On white

4.65
#835DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#835DD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #835DD7
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835DD7#FFFFFF#000000##FFFFFF
##835DD71.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A75DB
Deuteranopia (green-blind)
#2A72D4
Tritanopia (blue-blind)
#6E7791
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #835dd7;
/* rgb */ color: rgb(131, 93, 215);
/* oklch */ color: oklch(57.8% 0.180 294.5);
Tailwind
colors: {
  custom: {
    50: '#ac8ce4',
    500: '#835dd7',
    950: '#000000',
  },
}
SCSS
$custom: #835dd7;
$custom-light: #ac8ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#835dd7",
  "rgb": {
    "r": 131,
    "g": 93,
    "b": 215
  },
  "hsl": {
    "h": 258.689,
    "s": 60.396,
    "l": 60.392
  },
  "oklch": {
    "l": 0.57788,
    "c": 0.17966,
    "h": 294.5
  },
  "luminance": 0.1756
}

Semantic roles & 50–950 ramp

primary
#835DD7
secondary
#D1DFB1
accent
#C81D93
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #835DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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