#835DFC#835DFC

#835DFC is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.4% C 0.225 H 288.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#835DFC
RGBrgb(131, 93, 252)
HSLhsl(254, 96%, 68%)
HSVhsv(254, 63%, 99%)
CMYKcmyk(48%, 63.1%, 0%, 1.2%)
CIE-LABlab(51.47, 52.74, -74.27)
CIE-LCHlch(51.47, 91.09, 305.38°)
OKLaboklab(60.42% 0.0726 -0.2127)
OKLCHoklch(60.42% 0.225 288.8)
XYZxyz(30.8400, 19.6810, 94.2504)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835DFC #D6FC5D
analogous
#5D86FC #835DFC #D35DFC
triadic
#835DFC #FC835D #5DFC83
tetradic
#835DFC #FC5D86 #D6FC5D #5DFCD3
square
#835DFC #FC5D86 #D6FC5D #5DFCD3
split-complementary
#835DFC #FCD35D #86FC5D
monochromatic
#3704DB #5521FB #835DFC #B199FD #DFD5FE

Accessibility & contrast

On white

4.25
#835DFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#835DFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #835DFC
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835DFC#FFFFFF#000000##000000
##835DFC1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #835dfc;
/* rgb */ color: rgb(131, 93, 252);
/* oklch */ color: oklch(60.4% 0.225 288.8);
Tailwind
colors: {
  custom: {
    50: '#b08dfe',
    500: '#835dfc',
    950: '#000000',
  },
}
SCSS
$custom: #835dfc;
$custom-light: #b08dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#835dfc",
  "rgb": {
    "r": 131,
    "g": 93,
    "b": 252
  },
  "hsl": {
    "h": 254.34,
    "s": 96.364,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60423,
    "c": 0.22477,
    "h": 288.8
  },
  "luminance": 0.19682
}

Semantic roles & 50–950 ramp

primary
#835DFC
secondary
#E7F3C2
accent
#E600AF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #835DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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