#826DDD#826DDD

#826DDD is a mid, vivid violet. Relative luminance 0.209; OKLCH L 60.8% C 0.164 H 289.2°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#826DDD
RGBrgb(130, 109, 221)
HSLhsl(251, 62%, 65%)
HSVhsv(251, 51%, 87%)
CMYKcmyk(41.2%, 50.7%, 0%, 13.3%)
CIE-LABlab(52.84, 34.85, -54.71)
CIE-LCHlch(52.84, 64.87, 302.50°)
OKLaboklab(60.76% 0.054 -0.1552)
OKLCHoklch(60.76% 0.164 289.2)
XYZxyz(27.7221, 20.9027, 70.9666)
Luminance0.2090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#826DDD #C8DD6D
analogous
#6D90DD #826DDD #BA6DDD
triadic
#826DDD #DD826D #6DDD82
tetradic
#826DDD #DD6D90 #C8DD6D #6DDDBA
square
#826DDD #DD6D90 #C8DD6D #6DDDBA
split-complementary
#826DDD #DDBA6D #90DD6D
monochromatic
#3F27A8 #583BD1 #826DDD #AD9FE9 #D7D0F4

Accessibility & contrast

On white

4.05
#826DDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#826DDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #826DDD
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##826DDD#FFFFFF#000000##000000
##826DDD1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D80E1
Deuteranopia (green-blind)
#3E7BDA
Tritanopia (blue-blind)
#68849B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #826ddd;
/* rgb */ color: rgb(130, 109, 221);
/* oklch */ color: oklch(60.8% 0.164 289.2);
Tailwind
colors: {
  custom: {
    50: '#ab97e8',
    500: '#826ddd',
    950: '#000000',
  },
}
SCSS
$custom: #826ddd;
$custom-light: #ab97e8;
$custom-dark: #000000;
JSON
{
  "hex": "#826ddd",
  "rgb": {
    "r": 130,
    "g": 109,
    "b": 221
  },
  "hsl": {
    "h": 251.25,
    "s": 62.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60764,
    "c": 0.16435,
    "h": 289.2
  },
  "luminance": 0.20904
}

Semantic roles & 50–950 ramp

primary
#826DDD
secondary
#DFE6C0
accent
#CA1CA9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #826DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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