#835FBE#835FBE

#835FBE is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.5% C 0.145 H 299.2°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#835FBE
RGBrgb(131, 95, 190)
HSLhsl(263, 42%, 56%)
HSVhsv(263, 50%, 75%)
CMYKcmyk(31.1%, 50%, 0%, 25.5%)
CIE-LABlab(47.91, 34.93, -44.86)
CIE-LCHlch(47.91, 56.85, 307.90°)
OKLaboklab(56.54% 0.0707 -0.1263)
OKLCHoklch(56.54% 0.145 299.2)
XYZxyz(22.7443, 16.7272, 50.7356)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835FBE #9ABE5F
analogous
#5F6ABE #835FBE #B25FBE
triadic
#835FBE #BE835F #5FBE83
tetradic
#835FBE #BE5F6A #9ABE5F #5FBEB2
square
#835FBE #BE5F6A #9ABE5F #5FBEB2
split-complementary
#835FBE #BEB25F #6ABE5F
monochromatic
#492F74 #64419F #835FBE #A58BD0 #C6B6E1

Accessibility & contrast

On white

4.83
#835FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#835FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #835FBE
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835FBE#FFFFFF#000000##FFFFFF
##835FBE1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F72C1
Deuteranopia (green-blind)
#4871BC
Tritanopia (blue-blind)
#777186
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #835fbe;
/* rgb */ color: rgb(131, 95, 190);
/* oklch */ color: oklch(56.5% 0.145 299.2);
Tailwind
colors: {
  custom: {
    50: '#aa8dd2',
    500: '#835fbe',
    950: '#000000',
  },
}
SCSS
$custom: #835fbe;
$custom-light: #aa8dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#835fbe",
  "rgb": {
    "r": 131,
    "g": 95,
    "b": 190
  },
  "hsl": {
    "h": 262.737,
    "s": 42.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56536,
    "c": 0.14475,
    "h": 299.2
  },
  "luminance": 0.16727
}

Semantic roles & 50–950 ramp

primary
#835FBE
secondary
#C1D0A9
accent
#D256A3
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #835FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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