#835FDB#835FDB

#835FDB is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.4% C 0.182 H 293.3°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#835FDB
RGBrgb(131, 95, 219)
HSLhsl(257, 63%, 62%)
HSVhsv(257, 57%, 86%)
CMYKcmyk(40.2%, 56.6%, 0%, 14.1%)
CIE-LABlab(49.65, 42.59, -58.71)
CIE-LCHlch(49.65, 72.53, 305.96°)
OKLaboklab(58.38% 0.072 -0.1669)
OKLCHoklch(58.38% 0.182 293.3)
XYZxyz(26.2350, 18.1235, 69.1200)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835FDB #B7DB5F
analogous
#5F79DB #835FDB #C15FDB
triadic
#835FDB #DB835F #5FDB83
tetradic
#835FDB #DB5F79 #B7DB5F #5FDBC1
square
#835FDB #DB5F79 #B7DB5F #5FDBC1
split-complementary
#835FDB #DBC15F #79DB5F
monochromatic
#46239C #5D2ECE #835FDB #AA91E6 #D0C3F1

Accessibility & contrast

On white

4.54
#835FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#835FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #835FDB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835FDB#FFFFFF#000000##000000
##835FDB1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1978DF
Deuteranopia (green-blind)
#2774D8
Tritanopia (blue-blind)
#6C7A94
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #835fdb;
/* rgb */ color: rgb(131, 95, 219);
/* oklch */ color: oklch(58.4% 0.182 293.3);
Tailwind
colors: {
  custom: {
    50: '#ac8de7',
    500: '#835fdb',
    950: '#000000',
  },
}
SCSS
$custom: #835fdb;
$custom-light: #ac8de7;
$custom-dark: #000000;
JSON
{
  "hex": "#835fdb",
  "rgb": {
    "r": 131,
    "g": 95,
    "b": 219
  },
  "hsl": {
    "h": 257.419,
    "s": 63.265,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58376,
    "c": 0.18183,
    "h": 293.3
  },
  "luminance": 0.18124
}

Semantic roles & 50–950 ramp

primary
#835FDB
secondary
#D5E2B4
accent
#CB1A98
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #835FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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