#835CF2#835CF2

#835CF2 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.5% C 0.214 H 290.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#835CF2
RGBrgb(131, 92, 242)
HSLhsl(256, 85%, 65%)
HSVhsv(256, 62%, 95%)
CMYKcmyk(45.9%, 62%, 0%, 5.1%)
CIE-LABlab(50.56, 50.53, -70.19)
CIE-LCHlch(50.56, 86.48, 305.75°)
OKLaboklab(59.53% 0.0744 -0.2007)
OKLCHoklch(59.53% 0.214 290.3)
XYZxyz(29.2097, 18.8893, 86.0941)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835CF2 #CBF25C
analogous
#5C80F2 #835CF2 #CE5CF2
triadic
#835CF2 #F2835C #5CF283
tetradic
#835CF2 #F25C80 #CBF25C #5CF2CE
square
#835CF2 #F25C80 #CBF25C #5CF2CE
split-complementary
#835CF2 #F2CE5C #80F25C
monochromatic
#3F10C4 #5823ED #835CF2 #AE95F7 #D9CDFB

Accessibility & contrast

On white

4.40
#835CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#835CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #835CF2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835CF2#FFFFFF#000000##000000
##835CF21.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF7
Deuteranopia (green-blind)
#0075EF
Tritanopia (blue-blind)
#607F9F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #835cf2;
/* rgb */ color: rgb(131, 92, 242);
/* oklch */ color: oklch(59.5% 0.214 290.3);
Tailwind
colors: {
  custom: {
    50: '#af8cf7',
    500: '#835cf2',
    950: '#000000',
  },
}
SCSS
$custom: #835cf2;
$custom-light: #af8cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#835cf2",
  "rgb": {
    "r": 131,
    "g": 92,
    "b": 242
  },
  "hsl": {
    "h": 255.6,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59532,
    "c": 0.21408,
    "h": 290.3
  },
  "luminance": 0.1889
}

Semantic roles & 50–950 ramp

primary
#835CF2
secondary
#E1EEBC
accent
#E204A8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #835CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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