#835FF2#835FF2

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

Color values

HEX#835FF2
RGBrgb(131, 95, 242)
HSLhsl(255, 85%, 66%)
HSVhsv(255, 61%, 95%)
CMYKcmyk(45.9%, 60.7%, 0%, 5.1%)
CIE-LABlab(51.17, 48.89, -69.19)
CIE-LCHlch(51.17, 84.72, 305.25°)
OKLaboklab(59.98% 0.0713 -0.1978)
OKLCHoklch(59.98% 0.21 289.8)
XYZxyz(29.4748, 19.4194, 86.1825)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835FF2 #CEF25F
analogous
#5F84F2 #835FF2 #CC5FF2
triadic
#835FF2 #F2835F #5FF283
tetradic
#835FF2 #F25F84 #CEF25F #5FF2CC
square
#835FF2 #F25F84 #CEF25F #5FF2CC
split-complementary
#835FF2 #F2CC5F #84F25F
monochromatic
#3D10C6 #5726ED #835FF2 #AF98F7 #DBD0FB

Accessibility & contrast

On white

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

On black

4.88
#835FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #835FF2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835FF2#FFFFFF#000000##000000
##835FF21.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF7
Deuteranopia (green-blind)
#0076EF
Tritanopia (blue-blind)
#6081A0
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #835ff2;
/* rgb */ color: rgb(131, 95, 242);
/* oklch */ color: oklch(60.0% 0.210 289.8);
Tailwind
colors: {
  custom: {
    50: '#ae8ef7',
    500: '#835ff2',
    950: '#000000',
  },
}
SCSS
$custom: #835ff2;
$custom-light: #ae8ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#835ff2",
  "rgb": {
    "r": 131,
    "g": 95,
    "b": 242
  },
  "hsl": {
    "h": 254.694,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59981,
    "c": 0.21025,
    "h": 289.8
  },
  "luminance": 0.19421
}

Semantic roles & 50–950 ramp

primary
#835FF2
secondary
#E3EFBE
accent
#E104AB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #835FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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