#835CEC#835CEC

#835CEC is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.1% C 0.207 H 291.2°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#835CEC
RGBrgb(131, 92, 236)
HSLhsl(256, 79%, 64%)
HSVhsv(256, 61%, 93%)
CMYKcmyk(44.5%, 61%, 0%, 7.5%)
CIE-LABlab(50.14, 48.89, -67.50)
CIE-LCHlch(50.14, 83.35, 305.91°)
OKLaboklab(59.1% 0.0749 -0.1928)
OKLCHoklch(59.1% 0.207 291.2)
XYZxyz(28.3233, 18.5348, 81.4259)
Luminance0.1854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835CEC #C5EC5C
analogous
#5C7DEC #835CEC #CB5CEC
triadic
#835CEC #EC835C #5CEC83
tetradic
#835CEC #EC5C7D #C5EC5C #5CECCB
square
#835CEC #EC5C7D #C5EC5C #5CECCB
split-complementary
#835CEC #ECCB5C #7DEC5C
monochromatic
#4215B8 #5925E6 #835CEC #AD93F2 #D6CAF9

Accessibility & contrast

On white

4.46
#835CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#835CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #835CEC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835CEC#FFFFFF#000000##000000
##835CEC1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF1
Deuteranopia (green-blind)
#0074E9
Tritanopia (blue-blind)
#647D9B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #835cec;
/* rgb */ color: rgb(131, 92, 236);
/* oklch */ color: oklch(59.1% 0.207 291.2);
Tailwind
colors: {
  custom: {
    50: '#ae8cf3',
    500: '#835cec',
    950: '#000000',
  },
}
SCSS
$custom: #835cec;
$custom-light: #ae8cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#835cec",
  "rgb": {
    "r": 131,
    "g": 92,
    "b": 236
  },
  "hsl": {
    "h": 256.25,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59095,
    "c": 0.20685,
    "h": 291.2
  },
  "luminance": 0.18536
}

Semantic roles & 50–950 ramp

primary
#835CEC
secondary
#DDEBB9
accent
#DB0AA3
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #835CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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