#835AE7#835AE7

#835AE7 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.4% C 0.203 H 292.3°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#835AE7
RGBrgb(131, 90, 231)
HSLhsl(257, 75%, 63%)
HSVhsv(257, 61%, 91%)
CMYKcmyk(43.3%, 61%, 0%, 9.4%)
CIE-LABlab(49.38, 48.62, -65.92)
CIE-LCHlch(49.38, 81.91, 306.41°)
OKLaboklab(58.44% 0.0773 -0.1882)
OKLCHoklch(58.44% 0.203 292.3)
XYZxyz(27.4361, 17.9063, 77.5965)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835AE7 #BEE75A
analogous
#5A77E7 #835AE7 #CA5AE7
triadic
#835AE7 #E7835A #5AE783
tetradic
#835AE7 #E75A77 #BEE75A #5AE7CA
square
#835AE7 #E75A77 #BEE75A #5AE7CA
split-complementary
#835AE7 #E7CA5A #77E75A
monochromatic
#4419AD #5B25DF #835AE7 #AB8FEF #D3C5F7

Accessibility & contrast

On white

4.58
#835AE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#835AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #835AE7
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835AE7#FFFFFF#000000##000000
##835AE71.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EC
Deuteranopia (green-blind)
#0073E4
Tritanopia (blue-blind)
#677A98
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #835ae7;
/* rgb */ color: rgb(131, 90, 231);
/* oklch */ color: oklch(58.4% 0.203 292.3);
Tailwind
colors: {
  custom: {
    50: '#ae8aef',
    500: '#835ae7',
    950: '#000000',
  },
}
SCSS
$custom: #835ae7;
$custom-light: #ae8aef;
$custom-dark: #000000;
JSON
{
  "hex": "#835ae7",
  "rgb": {
    "r": 131,
    "g": 90,
    "b": 231
  },
  "hsl": {
    "h": 257.447,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.58435,
    "c": 0.20343,
    "h": 292.3
  },
  "luminance": 0.17907
}

Semantic roles & 50–950 ramp

primary
#835AE7
secondary
#D9E8B5
accent
#D70F9D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #835AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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