#835EFB#835EFB

#835EFB is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.5% C 0.222 H 288.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#835EFB
RGBrgb(131, 94, 251)
HSLhsl(254, 95%, 68%)
HSVhsv(254, 63%, 98%)
CMYKcmyk(47.8%, 62.5%, 0%, 1.6%)
CIE-LABlab(51.60, 51.93, -73.51)
CIE-LCHlch(51.60, 90.00, 305.24°)
OKLaboklab(60.49% 0.0717 -0.2105)
OKLCHoklch(60.49% 0.222 288.8)
XYZxyz(30.7703, 19.7944, 93.4475)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835EFB #D6FB5E
analogous
#5E87FB #835EFB #D15EFB
triadic
#835EFB #FB835E #5EFB83
tetradic
#835EFB #FB5E87 #D6FB5E #5EFBD1
square
#835EFB #FB5E87 #D6FB5E #5EFBD1
split-complementary
#835EFB #FBD15E #87FB5E
monochromatic
#3705D9 #5522FA #835EFB #B19AFC #DFD5FE

Accessibility & contrast

On white

4.23
#835EFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#835EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #835EFB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835EFB#FFFFFF#000000##000000
##835EFB1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0077F8
Tritanopia (blue-blind)
#5B83A4
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #835efb;
/* rgb */ color: rgb(131, 94, 251);
/* oklch */ color: oklch(60.5% 0.222 288.8);
Tailwind
colors: {
  custom: {
    50: '#b08dfe',
    500: '#835efb',
    950: '#000000',
  },
}
SCSS
$custom: #835efb;
$custom-light: #b08dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#835efb",
  "rgb": {
    "r": 131,
    "g": 94,
    "b": 251
  },
  "hsl": {
    "h": 254.14,
    "s": 95.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60494,
    "c": 0.22235,
    "h": 288.8
  },
  "luminance": 0.19796
}

Semantic roles & 50–950 ramp

primary
#835EFB
secondary
#E7F3C2
accent
#E600AF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #835EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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