#826CB9#826CB9

#826CB9 is a mid, moderate violet. Relative luminance 0.190; OKLCH L 58.5% C 0.117 H 295.7°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#826CB9
RGBrgb(130, 108, 185)
HSLhsl(257, 35%, 57%)
HSVhsv(257, 42%, 73%)
CMYKcmyk(29.7%, 41.6%, 0%, 27.5%)
CIE-LABlab(50.66, 25.72, -37.63)
CIE-LCHlch(50.66, 45.58, 304.35°)
OKLaboklab(58.49% 0.0508 -0.1053)
OKLCHoklch(58.49% 0.117 295.7)
XYZxyz(23.3233, 18.9734, 48.3230)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#826CB9 #A3B96C
analogous
#6C7CB9 #826CB9 #A96CB9
triadic
#826CB9 #B9826C #6CB982
tetradic
#826CB9 #B96C7C #A3B96C #6CB9A9
square
#826CB9 #B96C7C #A3B96C #6CB9A9
split-complementary
#826CB9 #B9A96C #7CB96C
monochromatic
#483774 #624B9D #826CB9 #A595CD #C9BFE0

Accessibility & contrast

On white

4.38
#826CB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#826CB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #826CB9
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##826CB9#FFFFFF#000000##000000
##826CB91.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5679BC
Deuteranopia (green-blind)
#5978B7
Tritanopia (blue-blind)
#767A8A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #826cb9;
/* rgb */ color: rgb(130, 108, 185);
/* oklch */ color: oklch(58.5% 0.117 295.7);
Tailwind
colors: {
  custom: {
    50: '#a896ce',
    500: '#826cb9',
    950: '#000000',
  },
}
SCSS
$custom: #826cb9;
$custom-light: #a896ce;
$custom-dark: #000000;
JSON
{
  "hex": "#826cb9",
  "rgb": {
    "r": 130,
    "g": 108,
    "b": 185
  },
  "hsl": {
    "h": 257.143,
    "s": 35.484,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58488,
    "c": 0.1169,
    "h": 295.7
  },
  "luminance": 0.18974
}

Semantic roles & 50–950 ramp

primary
#826CB9
secondary
#C7D0B1
accent
#CC5CAC
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #826CB9

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

Preview Lab → · Contrast checker → · Palette generator →

#826CB9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva