#835EFD#835EFD

#835EFD is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.6% C 0.225 H 288.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#835EFD
RGBrgb(131, 94, 253)
HSLhsl(254, 98%, 68%)
HSVhsv(254, 63%, 99%)
CMYKcmyk(48.2%, 62.8%, 0%, 0.8%)
CIE-LABlab(51.75, 52.48, -74.38)
CIE-LCHlch(51.75, 91.03, 305.20°)
OKLaboklab(60.64% 0.0715 -0.213)
OKLCHoklch(60.64% 0.225 288.6)
XYZxyz(31.0873, 19.9212, 95.1166)
Luminance0.1992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835EFD #D8FD5E
analogous
#5E88FD #835EFD #D25EFD
triadic
#835EFD #FD835E #5EFD83
tetradic
#835EFD #FD5E88 #D8FD5E #5EFDD2
square
#835EFD #FD5E88 #D8FD5E #5EFDD2
split-complementary
#835EFD #FDD25E #88FD5E
monochromatic
#3603DE #5422FC #835EFD #B29AFE #E0D7FF

Accessibility & contrast

On white

4.21
#835EFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#835EFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #835EFD
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835EFD#FFFFFF#000000##000000
##835EFD1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0077FA
Tritanopia (blue-blind)
#5984A5
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #835efd;
/* rgb */ color: rgb(131, 94, 253);
/* oklch */ color: oklch(60.6% 0.225 288.6);
Tailwind
colors: {
  custom: {
    50: '#b08dff',
    500: '#835efd',
    950: '#000000',
  },
}
SCSS
$custom: #835efd;
$custom-light: #b08dff;
$custom-dark: #000000;
JSON
{
  "hex": "#835efd",
  "rgb": {
    "r": 131,
    "g": 94,
    "b": 253
  },
  "hsl": {
    "h": 253.962,
    "s": 97.546,
    "l": 68.039
  },
  "oklch": {
    "l": 0.60644,
    "c": 0.22473,
    "h": 288.6
  },
  "luminance": 0.19923
}

Semantic roles & 50–950 ramp

primary
#835EFD
secondary
#E8F4C3
accent
#E600B0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #835EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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