#835FC7#835FC7

#835FC7 is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.1% C 0.156 H 297.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#835FC7
RGBrgb(131, 95, 199)
HSLhsl(261, 48%, 58%)
HSVhsv(261, 52%, 78%)
CMYKcmyk(34.2%, 52.3%, 0%, 22%)
CIE-LABlab(48.43, 37.26, -49.23)
CIE-LCHlch(48.43, 61.74, 307.12°)
OKLaboklab(57.08% 0.0714 -0.1391)
OKLCHoklch(57.08% 0.156 297.2)
XYZxyz(23.7585, 17.1329, 56.0770)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835FC7 #A3C75F
analogous
#5F6FC7 #835FC7 #B75FC7
triadic
#835FC7 #C7835F #5FC783
tetradic
#835FC7 #C75F6F #A3C75F #5FC7B7
square
#835FC7 #C75F6F #A3C75F #5FC7B7
split-complementary
#835FC7 #C7B75F #6FC75F
monochromatic
#492C7F #633CAC #835FC7 #A68CD7 #C9BAE7

Accessibility & contrast

On white

4.74
#835FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#835FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #835FC7
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835FC7#FFFFFF#000000##FFFFFF
##835FC71.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3773CB
Deuteranopia (green-blind)
#4072C5
Tritanopia (blue-blind)
#74738A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #835fc7;
/* rgb */ color: rgb(131, 95, 199);
/* oklch */ color: oklch(57.1% 0.156 297.2);
Tailwind
colors: {
  custom: {
    50: '#aa8dd8',
    500: '#835fc7',
    950: '#000000',
  },
}
SCSS
$custom: #835fc7;
$custom-light: #aa8dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#835fc7",
  "rgb": {
    "r": 131,
    "g": 95,
    "b": 199
  },
  "hsl": {
    "h": 260.769,
    "s": 48.148,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57083,
    "c": 0.15639,
    "h": 297.2
  },
  "luminance": 0.17133
}

Semantic roles & 50–950 ramp

primary
#835FC7
secondary
#C7D6AC
accent
#D850A9
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #835FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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