#835FE7#835FE7

#835FE7 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.2% C 0.197 H 291.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#835FE7
RGBrgb(131, 95, 231)
HSLhsl(256, 74%, 64%)
HSVhsv(256, 59%, 91%)
CMYKcmyk(43.3%, 58.9%, 0%, 9.4%)
CIE-LABlab(50.43, 45.86, -64.23)
CIE-LCHlch(50.43, 78.92, 305.53°)
OKLaboklab(59.2% 0.0718 -0.1832)
OKLCHoklch(59.2% 0.197 291.4)
XYZxyz(27.8721, 18.7783, 77.7419)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835FE7 #C3E75F
analogous
#5F7FE7 #835FE7 #C75FE7
triadic
#835FE7 #E7835F #5FE783
tetradic
#835FE7 #E75F7F #C3E75F #5FE7C7
square
#835FE7 #E75F7F #C3E75F #5FE7C7
split-complementary
#835FE7 #E7C75F #7FE75F
monochromatic
#421BB1 #5A2ADF #835FE7 #AC94EF #D5C9F7

Accessibility & contrast

On white

4.42
#835FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#835FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #835FE7
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835FE7#FFFFFF#000000##000000
##835FE71.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#0075E4
Tritanopia (blue-blind)
#667D9A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #835fe7;
/* rgb */ color: rgb(131, 95, 231);
/* oklch */ color: oklch(59.2% 0.197 291.4);
Tailwind
colors: {
  custom: {
    50: '#ad8eef',
    500: '#835fe7',
    950: '#000000',
  },
}
SCSS
$custom: #835fe7;
$custom-light: #ad8eef;
$custom-dark: #000000;
JSON
{
  "hex": "#835fe7",
  "rgb": {
    "r": 131,
    "g": 95,
    "b": 231
  },
  "hsl": {
    "h": 255.882,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59198,
    "c": 0.19677,
    "h": 291.4
  },
  "luminance": 0.18779
}

Semantic roles & 50–950 ramp

primary
#835FE7
secondary
#DCE9B9
accent
#D60FA1
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #835FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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