#835CFB#835CFB

#835CFB is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.2% C 0.225 H 289.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#835CFB
RGBrgb(131, 92, 251)
HSLhsl(255, 95%, 67%)
HSVhsv(255, 63%, 98%)
CMYKcmyk(47.8%, 63.3%, 0%, 1.6%)
CIE-LABlab(51.20, 53.00, -74.16)
CIE-LCHlch(51.20, 91.15, 305.55°)
OKLaboklab(60.2% 0.0736 -0.2124)
OKLCHoklch(60.2% 0.225 289.1)
XYZxyz(30.5948, 19.4434, 93.3890)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835CFB #D4FB5C
analogous
#5C85FB #835CFB #D35CFB
triadic
#835CFB #FB835C #5CFB83
tetradic
#835CFB #FB5C85 #D4FB5C #5CFBD3
square
#835CFB #FB5C85 #D4FB5C #5CFBD3
split-complementary
#835CFB #FBD35C #85FB5C
monochromatic
#3905D7 #5620FA #835CFB #B098FC #DED3FE

Accessibility & contrast

On white

4.30
#835CFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#835CFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #835CFB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835CFB#FFFFFF#000000##000000
##835CFB1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0076F8
Tritanopia (blue-blind)
#5B82A3
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #835cfb;
/* rgb */ color: rgb(131, 92, 251);
/* oklch */ color: oklch(60.2% 0.225 289.1);
Tailwind
colors: {
  custom: {
    50: '#b08cfe',
    500: '#835cfb',
    950: '#000000',
  },
}
SCSS
$custom: #835cfb;
$custom-light: #b08cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#835cfb",
  "rgb": {
    "r": 131,
    "g": 92,
    "b": 251
  },
  "hsl": {
    "h": 254.717,
    "s": 95.21,
    "l": 67.255
  },
  "oklch": {
    "l": 0.60203,
    "c": 0.2248,
    "h": 289.1
  },
  "luminance": 0.19445
}

Semantic roles & 50–950 ramp

primary
#835CFB
secondary
#E6F2C0
accent
#E600AD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #835CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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