#835DF2#835DF2

#835DF2 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.7% C 0.213 H 290.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#835DF2
RGBrgb(131, 93, 242)
HSLhsl(255, 85%, 66%)
HSVhsv(255, 62%, 95%)
CMYKcmyk(45.9%, 61.6%, 0%, 5.1%)
CIE-LABlab(50.76, 49.99, -69.86)
CIE-LCHlch(50.76, 85.90, 305.59°)
OKLaboklab(59.68% 0.0734 -0.1997)
OKLCHoklch(59.68% 0.213 290.2)
XYZxyz(29.2969, 19.0637, 86.1232)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835DF2 #CCF25D
analogous
#5D81F2 #835DF2 #CD5DF2
triadic
#835DF2 #F2835D #5DF283
tetradic
#835DF2 #F25D81 #CCF25D #5DF2CD
square
#835DF2 #F25D81 #CCF25D #5DF2CD
split-complementary
#835DF2 #F2CD5D #81F25D
monochromatic
#3E10C5 #5824ED #835DF2 #AE96F7 #DACEFB

Accessibility & contrast

On white

4.36
#835DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#835DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #835DF2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835DF2#FFFFFF#000000##000000
##835DF21.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#0075EF
Tritanopia (blue-blind)
#60809F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #835df2;
/* rgb */ color: rgb(131, 93, 242);
/* oklch */ color: oklch(59.7% 0.213 290.2);
Tailwind
colors: {
  custom: {
    50: '#af8df7',
    500: '#835df2',
    950: '#000000',
  },
}
SCSS
$custom: #835df2;
$custom-light: #af8df7;
$custom-dark: #000000;
JSON
{
  "hex": "#835df2",
  "rgb": {
    "r": 131,
    "g": 93,
    "b": 242
  },
  "hsl": {
    "h": 255.302,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59681,
    "c": 0.21281,
    "h": 290.2
  },
  "luminance": 0.19065
}

Semantic roles & 50–950 ramp

primary
#835DF2
secondary
#E2EEBD
accent
#E204A9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #835DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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