#835DFB#835DFB

#835DFB is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.3% C 0.224 H 289.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#835DFB
RGBrgb(131, 93, 251)
HSLhsl(254, 95%, 67%)
HSVhsv(254, 63%, 98%)
CMYKcmyk(47.8%, 62.9%, 0%, 1.6%)
CIE-LABlab(51.40, 52.47, -73.83)
CIE-LCHlch(51.40, 90.58, 305.40°)
OKLaboklab(60.35% 0.0727 -0.2114)
OKLCHoklch(60.35% 0.224 289)
XYZxyz(30.6820, 19.6178, 93.4180)
Luminance0.1962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835DFB #D5FB5D
analogous
#5D86FB #835DFB #D25DFB
triadic
#835DFB #FB835D #5DFB83
tetradic
#835DFB #FB5D86 #D5FB5D #5DFBD2
square
#835DFB #FB5D86 #D5FB5D #5DFBD2
split-complementary
#835DFB #FBD25D #86FB5D
monochromatic
#3805D8 #5521FA #835DFB #B199FC #DED4FE

Accessibility & contrast

On white

4.26
#835DFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#835DFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #835DFB
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835DFB#FFFFFF#000000##000000
##835DFB1.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #835dfb;
/* rgb */ color: rgb(131, 93, 251);
/* oklch */ color: oklch(60.3% 0.224 289.0);
Tailwind
colors: {
  custom: {
    50: '#b08dfe',
    500: '#835dfb',
    950: '#000000',
  },
}
SCSS
$custom: #835dfb;
$custom-light: #b08dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#835dfb",
  "rgb": {
    "r": 131,
    "g": 93,
    "b": 251
  },
  "hsl": {
    "h": 254.43,
    "s": 95.181,
    "l": 67.451
  },
  "oklch": {
    "l": 0.60348,
    "c": 0.22358,
    "h": 289
  },
  "luminance": 0.19619
}

Semantic roles & 50–950 ramp

primary
#835DFB
secondary
#E7F3C1
accent
#E600AE
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #835DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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