#835FEF#835FEF

#835FEF is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.8% C 0.207 H 290.2°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#835FEF
RGBrgb(131, 95, 239)
HSLhsl(255, 82%, 65%)
HSVhsv(255, 60%, 94%)
CMYKcmyk(45.2%, 60.3%, 0%, 6.3%)
CIE-LABlab(50.97, 48.06, -67.84)
CIE-LCHlch(50.97, 83.14, 305.31°)
OKLaboklab(59.77% 0.0715 -0.1938)
OKLCHoklch(59.77% 0.207 290.2)
XYZxyz(29.0279, 19.2407, 83.8290)
Luminance0.1924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835FEF #CBEF5F
analogous
#5F83EF #835FEF #CB5FEF
triadic
#835FEF #EF835F #5FEF83
tetradic
#835FEF #EF5F83 #CBEF5F #5FEFCB
square
#835FEF #EF5F83 #CBEF5F #5FEFCB
split-complementary
#835FEF #EFCB5F #83EF5F
monochromatic
#3F13C0 #5827E9 #835FEF #AE97F5 #D9CEFA

Accessibility & contrast

On white

4.33
#835FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#835FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #835FEF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835FEF#FFFFFF#000000##000000
##835FEF1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#0076EC
Tritanopia (blue-blind)
#62809E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #835fef;
/* rgb */ color: rgb(131, 95, 239);
/* oklch */ color: oklch(59.8% 0.207 290.2);
Tailwind
colors: {
  custom: {
    50: '#ae8ef5',
    500: '#835fef',
    950: '#000000',
  },
}
SCSS
$custom: #835fef;
$custom-light: #ae8ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#835fef",
  "rgb": {
    "r": 131,
    "g": 95,
    "b": 239
  },
  "hsl": {
    "h": 255,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59765,
    "c": 0.2066,
    "h": 290.2
  },
  "luminance": 0.19242
}

Semantic roles & 50–950 ramp

primary
#835FEF
secondary
#E1EDBD
accent
#DE07A8
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #835FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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