#835FA2#835FA2

#835FA2 is a mid, moderate violet. Relative luminance 0.156; OKLCH L 55.0% C 0.108 H 307.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#835FA2
RGBrgb(131, 95, 162)
HSLhsl(272, 26%, 50%)
HSVhsv(272, 41%, 64%)
CMYKcmyk(19.1%, 41.4%, 0%, 36.5%)
CIE-LABlab(46.47, 27.99, -30.77)
CIE-LCHlch(46.47, 41.59, 312.30°)
OKLaboklab(54.98% 0.0665 -0.0854)
OKLCHoklch(54.98% 0.108 307.9)
XYZxyz(19.9726, 15.6186, 36.1379)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835FA2 #7EA25F
analogous
#615FA2 #835FA2 #A25F9F
triadic
#835FA2 #A2835F #5FA283
tetradic
#835FA2 #A2615F #7EA25F #5F9FA2
square
#835FA2 #A2615F #7EA25F #5F9FA2
split-complementary
#835FA2 #9FA25F #5FA261
monochromatic
#453155 #64487C #835FA2 #A186B8 #BFACCF

Accessibility & contrast

On white

5.09
#835FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#835FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #835FA2
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835FA2#FFFFFF#000000##FFFFFF
##835FA21.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506DA4
Deuteranopia (green-blind)
#596FA0
Tritanopia (blue-blind)
#7F6979
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #835fa2;
/* rgb */ color: rgb(131, 95, 162);
/* oklch */ color: oklch(55.0% 0.108 307.9);
Tailwind
colors: {
  custom: {
    50: '#a88dbe',
    500: '#835fa2',
    950: '#000000',
  },
}
SCSS
$custom: #835fa2;
$custom-light: #a88dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#835fa2",
  "rgb": {
    "r": 131,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 272.239,
    "s": 26.482,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54982,
    "c": 0.10824,
    "h": 307.9
  },
  "luminance": 0.15618
}

Semantic roles & 50–950 ramp

primary
#835FA2
secondary
#ADBD9F
accent
#C36590
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#100C12
muted
#7F7D81

Preview Lab

Preview with #835FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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