#835FDC#835FDC

#835FDC is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.4% C 0.183 H 293.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#835FDC
RGBrgb(131, 95, 220)
HSLhsl(257, 64%, 62%)
HSVhsv(257, 57%, 86%)
CMYKcmyk(40.5%, 56.8%, 0%, 13.7%)
CIE-LABlab(49.71, 42.87, -59.17)
CIE-LCHlch(49.71, 73.07, 305.92°)
OKLaboklab(58.44% 0.072 -0.1683)
OKLCHoklch(58.44% 0.183 293.2)
XYZxyz(26.3671, 18.1763, 69.8154)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835FDC #B8DC5F
analogous
#5F7ADC #835FDC #C25FDC
triadic
#835FDC #DC835F #5FDC83
tetradic
#835FDC #DC5F7A #B8DC5F #5FDCC2
square
#835FDC #DC5F7A #B8DC5F #5FDCC2
split-complementary
#835FDC #DCC25F #7ADC5F
monochromatic
#46239E #5C2ED0 #835FDC #AA91E7 #D1C3F2

Accessibility & contrast

On white

4.53
#835FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#835FDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #835FDC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835FDC#FFFFFF#000000##000000
##835FDC1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1778E0
Deuteranopia (green-blind)
#2574D9
Tritanopia (blue-blind)
#6B7A94
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #835fdc;
/* rgb */ color: rgb(131, 95, 220);
/* oklch */ color: oklch(58.4% 0.183 293.2);
Tailwind
colors: {
  custom: {
    50: '#ac8de8',
    500: '#835fdc',
    950: '#000000',
  },
}
SCSS
$custom: #835fdc;
$custom-light: #ac8de8;
$custom-dark: #000000;
JSON
{
  "hex": "#835fdc",
  "rgb": {
    "r": 131,
    "g": 95,
    "b": 220
  },
  "hsl": {
    "h": 257.28,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58443,
    "c": 0.18308,
    "h": 293.2
  },
  "luminance": 0.18177
}

Semantic roles & 50–950 ramp

primary
#835FDC
secondary
#D5E3B4
accent
#CC1A99
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #835FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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