#835EF2#835EF2

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

Color values

HEX#835EF2
RGBrgb(131, 94, 242)
HSLhsl(255, 85%, 66%)
HSVhsv(255, 61%, 95%)
CMYKcmyk(45.9%, 61.2%, 0%, 5.1%)
CIE-LABlab(50.97, 49.44, -69.52)
CIE-LCHlch(50.97, 85.31, 305.42°)
OKLaboklab(59.83% 0.0724 -0.1988)
OKLCHoklch(59.83% 0.212 290)
XYZxyz(29.3853, 19.2404, 86.1527)
Luminance0.1924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835EF2 #CDF25E
analogous
#5E83F2 #835EF2 #CD5EF2
triadic
#835EF2 #F2835E #5EF283
tetradic
#835EF2 #F25E83 #CDF25E #5EF2CD
square
#835EF2 #F25E83 #CDF25E #5EF2CD
split-complementary
#835EF2 #F2CD5E #83F25E
monochromatic
#3D10C6 #5725ED #835EF2 #AF97F7 #DACFFB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##835EF2#FFFFFF#000000##000000
##835EF21.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)
#007CF7
Deuteranopia (green-blind)
#0076EF
Tritanopia (blue-blind)
#60809F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #835ef2;
/* rgb */ color: rgb(131, 94, 242);
/* oklch */ color: oklch(59.8% 0.212 290.0);
Tailwind
colors: {
  custom: {
    50: '#af8df7',
    500: '#835ef2',
    950: '#000000',
  },
}
SCSS
$custom: #835ef2;
$custom-light: #af8df7;
$custom-dark: #000000;
JSON
{
  "hex": "#835ef2",
  "rgb": {
    "r": 131,
    "g": 94,
    "b": 242
  },
  "hsl": {
    "h": 255,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59831,
    "c": 0.21153,
    "h": 290
  },
  "luminance": 0.19242
}

Semantic roles & 50–950 ramp

primary
#835EF2
secondary
#E2EEBD
accent
#E204AA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #835EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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