#835DF7#835DF7

#835DF7 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.0% C 0.219 H 289.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#835DF7
RGBrgb(131, 93, 247)
HSLhsl(255, 91%, 67%)
HSVhsv(255, 62%, 97%)
CMYKcmyk(47%, 62.3%, 0%, 3.1%)
CIE-LABlab(51.12, 51.36, -72.07)
CIE-LCHlch(51.12, 88.50, 305.48°)
OKLaboklab(60.05% 0.073 -0.2063)
OKLCHoklch(60.05% 0.219 289.5)
XYZxyz(30.0581, 19.3682, 90.1323)
Luminance0.1937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835DF7 #D1F75D
analogous
#5D84F7 #835DF7 #D05DF7
triadic
#835DF7 #F7835D #5DF783
tetradic
#835DF7 #F75D84 #D1F75D #5DF7D0
square
#835DF7 #F75D84 #D1F75D #5DF7D0
split-complementary
#835DF7 #F7D05D #84F75D
monochromatic
#3B0ACF #5623F4 #835DF7 #B097FA #DCD2FD

Accessibility & contrast

On white

4.31
#835DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#835DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #835DF7
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835DF7#FFFFFF#000000##000000
##835DF71.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFC
Deuteranopia (green-blind)
#0076F4
Tritanopia (blue-blind)
#5D82A2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #835df7;
/* rgb */ color: rgb(131, 93, 247);
/* oklch */ color: oklch(60.0% 0.219 289.5);
Tailwind
colors: {
  custom: {
    50: '#af8dfb',
    500: '#835df7',
    950: '#000000',
  },
}
SCSS
$custom: #835df7;
$custom-light: #af8dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#835df7",
  "rgb": {
    "r": 131,
    "g": 93,
    "b": 247
  },
  "hsl": {
    "h": 254.805,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60049,
    "c": 0.21881,
    "h": 289.5
  },
  "luminance": 0.19369
}

Semantic roles & 50–950 ramp

primary
#835DF7
secondary
#E4F1BF
accent
#E600AD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #835DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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