#835FFB#835FFB

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

Color values

HEX#835FFB
RGBrgb(131, 95, 251)
HSLhsl(254, 95%, 68%)
HSVhsv(254, 62%, 98%)
CMYKcmyk(47.8%, 62.2%, 0%, 1.6%)
CIE-LABlab(51.81, 51.38, -73.18)
CIE-LCHlch(51.81, 89.41, 305.08°)
OKLaboklab(60.64% 0.0707 -0.2095)
OKLCHoklch(60.64% 0.221 288.6)
XYZxyz(30.8598, 19.9734, 93.4773)
Luminance0.1998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835FFB #D7FB5F
analogous
#5F89FB #835FFB #D15FFB
triadic
#835FFB #FB835F #5FFB83
tetradic
#835FFB #FB5F89 #D7FB5F #5FFBD1
square
#835FFB #FB5F89 #D7FB5F #5FFBD1
split-complementary
#835FFB #FBD15F #89FB5F
monochromatic
#3705DA #5523FA #835FFB #B19BFC #E0D6FE

Accessibility & contrast

On white

4.20
#835FFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#835FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #835FFB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835FFB#FFFFFF#000000##000000
##835FFB1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0078F8
Tritanopia (blue-blind)
#5B84A4
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #835ffb;
/* rgb */ color: rgb(131, 95, 251);
/* oklch */ color: oklch(60.6% 0.221 288.6);
Tailwind
colors: {
  custom: {
    50: '#af8efe',
    500: '#835ffb',
    950: '#000000',
  },
}
SCSS
$custom: #835ffb;
$custom-light: #af8efe;
$custom-dark: #000000;
JSON
{
  "hex": "#835ffb",
  "rgb": {
    "r": 131,
    "g": 95,
    "b": 251
  },
  "hsl": {
    "h": 253.846,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.60642,
    "c": 0.2211,
    "h": 288.6
  },
  "luminance": 0.19975
}

Semantic roles & 50–950 ramp

primary
#835FFB
secondary
#E8F3C3
accent
#E600B1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #835FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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