#835DF8#835DF8

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

Color values

HEX#835DF8
RGBrgb(131, 93, 248)
HSLhsl(255, 92%, 67%)
HSVhsv(255, 63%, 97%)
CMYKcmyk(47.2%, 62.5%, 0%, 2.7%)
CIE-LABlab(51.19, 51.64, -72.51)
CIE-LCHlch(51.19, 89.02, 305.46°)
OKLaboklab(60.12% 0.0729 -0.2076)
OKLCHoklch(60.12% 0.22 289.4)
XYZxyz(30.2129, 19.4301, 90.9472)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835DF8 #D2F85D
analogous
#5D85F8 #835DF8 #D15DF8
triadic
#835DF8 #F8835D #5DF883
tetradic
#835DF8 #F85D85 #D2F85D #5DF8D1
square
#835DF8 #F85D85 #D2F85D #5DF8D1
split-complementary
#835DF8 #F8D15D #85F85D
monochromatic
#3A09D2 #5622F5 #835DF8 #B098FB #DDD2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##835DF8#FFFFFF#000000##000000
##835DF81.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)
#007DFD
Deuteranopia (green-blind)
#0076F5
Tritanopia (blue-blind)
#5D82A2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #835df8;
/* rgb */ color: rgb(131, 93, 248);
/* oklch */ color: oklch(60.1% 0.220 289.4);
Tailwind
colors: {
  custom: {
    50: '#af8dfc',
    500: '#835df8',
    950: '#000000',
  },
}
SCSS
$custom: #835df8;
$custom-light: #af8dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#835df8",
  "rgb": {
    "r": 131,
    "g": 93,
    "b": 248
  },
  "hsl": {
    "h": 254.71,
    "s": 91.716,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60124,
    "c": 0.22,
    "h": 289.4
  },
  "luminance": 0.19431
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #835DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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