#835CDB#835CDB

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

Color values

HEX#835CDB
RGBrgb(131, 92, 219)
HSLhsl(258, 64%, 61%)
HSVhsv(258, 58%, 86%)
CMYKcmyk(40.2%, 58%, 0%, 14.1%)
CIE-LABlab(49.00, 44.28, -59.75)
CIE-LCHlch(49.00, 74.37, 306.54°)
OKLaboklab(57.9% 0.0756 -0.17)
OKLCHoklch(57.9% 0.186 294)
XYZxyz(25.9700, 17.5934, 69.0317)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835CDB #B4DB5C
analogous
#5C74DB #835CDB #C25CDB
triadic
#835CDB #DB835C #5CDB83
tetradic
#835CDB #DB5C74 #B4DB5C #5CDBC2
square
#835CDB #DB5C74 #B4DB5C #5CDBC2
split-complementary
#835CDB #DBC25C #74DB5C
monochromatic
#47229A #5E2DCD #835CDB #A98EE6 #CFC0F1

Accessibility & contrast

On white

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

On black

4.52
#835CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##835CDB#FFFFFF#000000##FFFFFF
##835CDB1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0776DF
Deuteranopia (green-blind)
#1F72D8
Tritanopia (blue-blind)
#6C7893
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #835cdb;
/* rgb */ color: rgb(131, 92, 219);
/* oklch */ color: oklch(57.9% 0.186 294.0);
Tailwind
colors: {
  custom: {
    50: '#ac8be7',
    500: '#835cdb',
    950: '#000000',
  },
}
SCSS
$custom: #835cdb;
$custom-light: #ac8be7;
$custom-dark: #000000;
JSON
{
  "hex": "#835cdb",
  "rgb": {
    "r": 131,
    "g": 92,
    "b": 219
  },
  "hsl": {
    "h": 258.425,
    "s": 63.819,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57901,
    "c": 0.18605,
    "h": 294
  },
  "luminance": 0.17594
}

Semantic roles & 50–950 ramp

primary
#835CDB
secondary
#D3E1B1
accent
#CC1A95
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #835CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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