#835FC3#835FC3

#835FC3 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 56.8% C 0.151 H 298.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#835FC3
RGBrgb(131, 95, 195)
HSLhsl(262, 45%, 57%)
HSVhsv(262, 51%, 76%)
CMYKcmyk(32.8%, 51.3%, 0%, 23.5%)
CIE-LABlab(48.20, 36.22, -47.30)
CIE-LCHlch(48.20, 59.57, 307.44°)
OKLaboklab(56.84% 0.0711 -0.1335)
OKLCHoklch(56.84% 0.151 298)
XYZxyz(23.3002, 16.9496, 53.6632)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835FC3 #9FC35F
analogous
#5F6DC3 #835FC3 #B55FC3
triadic
#835FC3 #C3835F #5FC383
tetradic
#835FC3 #C35F6D #9FC35F #5FC3B5
square
#835FC3 #C35F6D #9FC35F #5FC3B5
split-complementary
#835FC3 #C3B55F #6DC35F
monochromatic
#492E7A #643EA6 #835FC3 #A58CD4 #C8B8E4

Accessibility & contrast

On white

4.78
#835FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#835FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #835FC3
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835FC3#FFFFFF#000000##FFFFFF
##835FC31.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B73C6
Deuteranopia (green-blind)
#4471C1
Tritanopia (blue-blind)
#757288
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #835fc3;
/* rgb */ color: rgb(131, 95, 195);
/* oklch */ color: oklch(56.8% 0.151 298.0);
Tailwind
colors: {
  custom: {
    50: '#aa8dd6',
    500: '#835fc3',
    950: '#000000',
  },
}
SCSS
$custom: #835fc3;
$custom-light: #aa8dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#835fc3",
  "rgb": {
    "r": 131,
    "g": 95,
    "b": 195
  },
  "hsl": {
    "h": 261.6,
    "s": 45.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56837,
    "c": 0.15123,
    "h": 298
  },
  "luminance": 0.1695
}

Semantic roles & 50–950 ramp

primary
#835FC3
secondary
#C5D3AB
accent
#D553A6
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #835FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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