#826CB7#826CB7

#826CB7 is a mid, moderate violet. Relative luminance 0.189; OKLCH L 58.4% C 0.114 H 296.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#826CB7
RGBrgb(130, 108, 183)
HSLhsl(258, 34%, 57%)
HSVhsv(258, 41%, 72%)
CMYKcmyk(29%, 41%, 0%, 28.2%)
CIE-LABlab(50.56, 25.20, -36.63)
CIE-LCHlch(50.56, 44.46, 304.53°)
OKLaboklab(58.38% 0.0504 -0.1024)
OKLCHoklch(58.38% 0.114 296.2)
XYZxyz(23.1137, 18.8896, 47.2189)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#826CB7 #A1B76C
analogous
#6C7CB7 #826CB7 #A86CB7
triadic
#826CB7 #B7826C #6CB782
tetradic
#826CB7 #B76C7C #A1B76C #6CB7A8
square
#826CB7 #B76C7C #A1B76C #6CB7A8
split-complementary
#826CB7 #B7A86C #7CB76C
monochromatic
#483771 #634C9A #826CB7 #A595CB #C8BEDF

Accessibility & contrast

On white

4.40
#826CB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#826CB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #826CB7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##826CB7#FFFFFF#000000##000000
##826CB71.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)
#5779BA
Deuteranopia (green-blind)
#5A77B5
Tritanopia (blue-blind)
#777989
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #826cb7;
/* rgb */ color: rgb(130, 108, 183);
/* oklch */ color: oklch(58.4% 0.114 296.2);
Tailwind
colors: {
  custom: {
    50: '#a896cd',
    500: '#826cb7',
    950: '#000000',
  },
}
SCSS
$custom: #826cb7;
$custom-light: #a896cd;
$custom-dark: #000000;
JSON
{
  "hex": "#826cb7",
  "rgb": {
    "r": 130,
    "g": 108,
    "b": 183
  },
  "hsl": {
    "h": 257.6,
    "s": 34.247,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58381,
    "c": 0.11412,
    "h": 296.2
  },
  "luminance": 0.1889
}

Semantic roles & 50–950 ramp

primary
#826CB7
secondary
#C6CFB0
accent
#CA5DAA
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #826CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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