#835CD7#835CD7

#835CD7 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.6% C 0.181 H 294.7°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#835CD7
RGBrgb(131, 92, 215)
HSLhsl(259, 61%, 60%)
HSVhsv(259, 57%, 84%)
CMYKcmyk(39.1%, 57.2%, 0%, 15.7%)
CIE-LABlab(48.74, 43.21, -57.89)
CIE-LCHlch(48.74, 72.23, 306.74°)
OKLaboklab(57.63% 0.0756 -0.1645)
OKLCHoklch(57.63% 0.181 294.7)
XYZxyz(25.4497, 17.3853, 66.2916)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835CD7 #B0D75C
analogous
#5C73D7 #835CD7 #C05CD7
triadic
#835CD7 #D7835C #5CD783
tetradic
#835CD7 #D75C73 #B0D75C #5CD7C0
square
#835CD7 #D75C73 #B0D75C #5CD7C0
split-complementary
#835CD7 #D7C05C #73D75C
monochromatic
#482494 #6030C5 #835CD7 #A88DE3 #CEBEEF

Accessibility & contrast

On white

4.69
#835CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#835CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #835CD7
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835CD7#FFFFFF#000000##FFFFFF
##835CD71.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1675DB
Deuteranopia (green-blind)
#2772D4
Tritanopia (blue-blind)
#6E7691
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #835cd7;
/* rgb */ color: rgb(131, 92, 215);
/* oklch */ color: oklch(57.6% 0.181 294.7);
Tailwind
colors: {
  custom: {
    50: '#ac8be4',
    500: '#835cd7',
    950: '#000000',
  },
}
SCSS
$custom: #835cd7;
$custom-light: #ac8be4;
$custom-dark: #000000;
JSON
{
  "hex": "#835cd7",
  "rgb": {
    "r": 131,
    "g": 92,
    "b": 215
  },
  "hsl": {
    "h": 259.024,
    "s": 60.591,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5763,
    "c": 0.18108,
    "h": 294.7
  },
  "luminance": 0.17386
}

Semantic roles & 50–950 ramp

primary
#835CD7
secondary
#D0DFB0
accent
#C81D92
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #835CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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