#826CB8#826CB8

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

Color values

HEX#826CB8
RGBrgb(130, 108, 184)
HSLhsl(257, 35%, 57%)
HSVhsv(257, 41%, 72%)
CMYKcmyk(29.3%, 41.3%, 0%, 27.8%)
CIE-LABlab(50.61, 25.46, -37.13)
CIE-LCHlch(50.61, 45.02, 304.44°)
OKLaboklab(58.43% 0.0506 -0.1039)
OKLCHoklch(58.43% 0.116 296)
XYZxyz(23.2181, 18.9314, 47.7690)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#826CB8 #A2B86C
analogous
#6C7CB8 #826CB8 #A86CB8
triadic
#826CB8 #B8826C #6CB882
tetradic
#826CB8 #B86C7C #A2B86C #6CB8A8
square
#826CB8 #B86C7C #A2B86C #6CB8A8
split-complementary
#826CB8 #B8A86C #7CB86C
monochromatic
#483772 #624B9C #826CB8 #A595CC #C8BFE0

Accessibility & contrast

On white

4.39
#826CB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##826CB8#FFFFFF#000000##000000
##826CB81.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5679BB
Deuteranopia (green-blind)
#5A77B6
Tritanopia (blue-blind)
#777989
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #826cb8;
/* rgb */ color: rgb(130, 108, 184);
/* oklch */ color: oklch(58.4% 0.116 296.0);
Tailwind
colors: {
  custom: {
    50: '#a896cd',
    500: '#826cb8',
    950: '#000000',
  },
}
SCSS
$custom: #826cb8;
$custom-light: #a896cd;
$custom-dark: #000000;
JSON
{
  "hex": "#826cb8",
  "rgb": {
    "r": 130,
    "g": 108,
    "b": 184
  },
  "hsl": {
    "h": 257.368,
    "s": 34.862,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58434,
    "c": 0.11551,
    "h": 296
  },
  "luminance": 0.18932
}

Semantic roles & 50–950 ramp

primary
#826CB8
secondary
#C6CFB1
accent
#CB5DAB
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #826CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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