#835CF8#835CF8

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

Color values

HEX#835CF8
RGBrgb(131, 92, 248)
HSLhsl(255, 92%, 67%)
HSVhsv(255, 63%, 97%)
CMYKcmyk(47.2%, 62.9%, 0%, 2.7%)
CIE-LABlab(50.98, 52.18, -72.84)
CIE-LCHlch(50.98, 89.60, 305.62°)
OKLaboklab(59.98% 0.0739 -0.2085)
OKLCHoklch(59.98% 0.221 289.5)
XYZxyz(30.1257, 19.2557, 90.9181)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835CF8 #D1F85C
analogous
#5C83F8 #835CF8 #D15CF8
triadic
#835CF8 #F8835C #5CF883
tetradic
#835CF8 #F85C83 #D1F85C #5CF8D1
square
#835CF8 #F85C83 #D1F85C #5CF8D1
split-complementary
#835CF8 #F8D15C #83F85C
monochromatic
#3B09D1 #5621F5 #835CF8 #B097FB #DCD1FD

Accessibility & contrast

On white

4.33
#835CF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#835CF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #835CF8
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835CF8#FFFFFF#000000##000000
##835CF81.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFD
Deuteranopia (green-blind)
#0076F5
Tritanopia (blue-blind)
#5D81A2
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #835cf8;
/* rgb */ color: rgb(131, 92, 248);
/* oklch */ color: oklch(60.0% 0.221 289.5);
Tailwind
colors: {
  custom: {
    50: '#af8cfc',
    500: '#835cf8',
    950: '#000000',
  },
}
SCSS
$custom: #835cf8;
$custom-light: #af8cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#835cf8",
  "rgb": {
    "r": 131,
    "g": 92,
    "b": 248
  },
  "hsl": {
    "h": 255,
    "s": 91.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.59977,
    "c": 0.22125,
    "h": 289.5
  },
  "luminance": 0.19257
}

Semantic roles & 50–950 ramp

primary
#835CF8
secondary
#E4F1BF
accent
#E600AC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #835CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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