#835EF5#835EF5

#835EF5 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.1% C 0.215 H 289.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#835EF5
RGBrgb(131, 94, 245)
HSLhsl(255, 88%, 66%)
HSVhsv(255, 62%, 96%)
CMYKcmyk(46.5%, 61.6%, 0%, 3.9%)
CIE-LABlab(51.18, 50.27, -70.86)
CIE-LCHlch(51.18, 86.88, 305.35°)
OKLaboklab(60.05% 0.0722 -0.2027)
OKLCHoklch(60.05% 0.215 289.6)
XYZxyz(29.8395, 19.4221, 88.5451)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835EF5 #D0F55E
analogous
#5E85F5 #835EF5 #CF5EF5
triadic
#835EF5 #F5835E #5EF583
tetradic
#835EF5 #F55E85 #D0F55E #5EF5CF
square
#835EF5 #F55E85 #D0F55E #5EF5CF
split-complementary
#835EF5 #F5CF5E #85F55E
monochromatic
#3C0DCC #5724F1 #835EF5 #AF98F9 #DCD1FC

Accessibility & contrast

On white

4.30
#835EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#835EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #835EF5
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835EF5#FFFFFF#000000##000000
##835EF51.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFA
Deuteranopia (green-blind)
#0076F2
Tritanopia (blue-blind)
#5E81A1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #835ef5;
/* rgb */ color: rgb(131, 94, 245);
/* oklch */ color: oklch(60.1% 0.215 289.6);
Tailwind
colors: {
  custom: {
    50: '#af8df9',
    500: '#835ef5',
    950: '#000000',
  },
}
SCSS
$custom: #835ef5;
$custom-light: #af8df9;
$custom-dark: #000000;
JSON
{
  "hex": "#835ef5",
  "rgb": {
    "r": 131,
    "g": 94,
    "b": 245
  },
  "hsl": {
    "h": 254.702,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.6005,
    "c": 0.21515,
    "h": 289.6
  },
  "luminance": 0.19423
}

Semantic roles & 50–950 ramp

primary
#835EF5
secondary
#E4F0BF
accent
#E501AD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #835EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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