#6826BD#6826BD

#6826BD is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.8% C 0.214 H 296.5°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#6826BD
RGBrgb(104, 38, 189)
HSLhsl(266, 67%, 45%)
HSVhsv(266, 80%, 74%)
CMYKcmyk(45%, 79.9%, 0%, 25.9%)
CIE-LABlab(33.99, 58.20, -66.93)
CIE-LCHlch(33.99, 88.69, 311.01°)
OKLaboklab(45.76% 0.0956 -0.1918)
OKLCHoklch(45.76% 0.214 296.5)
XYZxyz(15.5849, 8.0031, 48.8579)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6826BD #7BBD26
analogous
#2630BD #6826BD #B426BD
triadic
#6826BD #BD6826 #26BD68
tetradic
#6826BD #BD2630 #7BBD26 #26BDB4
square
#6826BD #BD2630 #7BBD26 #26BDB4
split-complementary
#6826BD #BDB426 #30BD26
monochromatic
#301257 #4C1C8A #6826BD #8746DA #A879E4

Accessibility & contrast

On white

8.08
#6826BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6826BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6826BD
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6826BD#FFFFFF#000000##FFFFFF
##6826BD1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C1
Deuteranopia (green-blind)
#004EBA
Tritanopia (blue-blind)
#515172
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6826bd;
/* rgb */ color: rgb(104, 38, 189);
/* oklch */ color: oklch(45.8% 0.214 296.5);
Tailwind
colors: {
  custom: {
    50: '#9b69d2',
    500: '#6826bd',
    950: '#000000',
  },
}
SCSS
$custom: #6826bd;
$custom-light: #9b69d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6826bd",
  "rgb": {
    "r": 104,
    "g": 38,
    "b": 189
  },
  "hsl": {
    "h": 266.225,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4576,
    "c": 0.21432,
    "h": 296.5
  },
  "luminance": 0.08003
}

Semantic roles & 50–950 ramp

primary
#6826BD
secondary
#A5CC73
accent
#E93E9F
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6826BD

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

Preview Lab → · Contrast checker → · Palette generator →

#6826BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva