#835FCB#835FCB

#835FCB is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.3% C 0.162 H 296.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#835FCB
RGBrgb(131, 95, 203)
HSLhsl(260, 51%, 58%)
HSVhsv(260, 53%, 80%)
CMYKcmyk(35.5%, 53.2%, 0%, 20.4%)
CIE-LABlab(48.66, 38.32, -51.16)
CIE-LCHlch(48.66, 63.91, 306.83°)
OKLaboklab(57.33% 0.0716 -0.1448)
OKLCHoklch(57.33% 0.162 296.3)
XYZxyz(24.2290, 17.3211, 58.5551)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835FCB #A7CB5F
analogous
#5F71CB #835FCB #B95FCB
triadic
#835FCB #CB835F #5FCB83
tetradic
#835FCB #CB5F71 #A7CB5F #5FCBB9
square
#835FCB #CB5F71 #A7CB5F #5FCBB9
split-complementary
#835FCB #CBB95F #71CB5F
monochromatic
#492B85 #623AB3 #835FCB #A78DDA #CBBBE9

Accessibility & contrast

On white

4.70
#835FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#835FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #835FCB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835FCB#FFFFFF#000000##FFFFFF
##835FCB1.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3374CF
Deuteranopia (green-blind)
#3C72C9
Tritanopia (blue-blind)
#72758C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #835fcb;
/* rgb */ color: rgb(131, 95, 203);
/* oklch */ color: oklch(57.3% 0.162 296.3);
Tailwind
colors: {
  custom: {
    50: '#ab8ddb',
    500: '#835fcb',
    950: '#000000',
  },
}
SCSS
$custom: #835fcb;
$custom-light: #ab8ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#835fcb",
  "rgb": {
    "r": 131,
    "g": 95,
    "b": 203
  },
  "hsl": {
    "h": 260,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57334,
    "c": 0.16153,
    "h": 296.3
  },
  "luminance": 0.17322
}

Semantic roles & 50–950 ramp

primary
#835FCB
secondary
#CAD8AD
accent
#DA4DAB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #835FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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