#826CDB#826CDB

#826CDB is a mid, vivid violet. Relative luminance 0.206; OKLCH L 60.5% C 0.163 H 289.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#826CDB
RGBrgb(130, 108, 219)
HSLhsl(252, 61%, 64%)
HSVhsv(252, 51%, 86%)
CMYKcmyk(40.6%, 50.7%, 0%, 14.1%)
CIE-LABlab(52.49, 34.88, -54.14)
CIE-LCHlch(52.49, 64.40, 302.79°)
OKLaboklab(60.46% 0.0551 -0.1535)
OKLCHoklch(60.46% 0.163 289.7)
XYZxyz(27.3511, 20.5846, 69.5362)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#826CDB #C5DB6C
analogous
#6C8EDB #826CDB #BA6CDB
triadic
#826CDB #DB826C #6CDB82
tetradic
#826CDB #DB6C8E #C5DB6C #6CDBBA
square
#826CDB #DB6C8E #C5DB6C #6CDBBA
split-complementary
#826CDB #DBBA6C #8EDB6C
monochromatic
#4128A4 #583BCF #826CDB #AC9DE7 #D6CEF3

Accessibility & contrast

On white

4.10
#826CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#826CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #826CDB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##826CDB#FFFFFF#000000##000000
##826CDB1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7FDF
Deuteranopia (green-blind)
#3F7BD8
Tritanopia (blue-blind)
#698399
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #826cdb;
/* rgb */ color: rgb(130, 108, 219);
/* oklch */ color: oklch(60.5% 0.163 289.7);
Tailwind
colors: {
  custom: {
    50: '#ab96e7',
    500: '#826cdb',
    950: '#000000',
  },
}
SCSS
$custom: #826cdb;
$custom-light: #ab96e7;
$custom-dark: #000000;
JSON
{
  "hex": "#826cdb",
  "rgb": {
    "r": 130,
    "g": 108,
    "b": 219
  },
  "hsl": {
    "h": 251.892,
    "s": 60.656,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60464,
    "c": 0.16314,
    "h": 289.7
  },
  "luminance": 0.20585
}

Semantic roles & 50–950 ramp

primary
#826CDB
secondary
#DDE5BE
accent
#C81DA6
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #826CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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