#6822BD#6822BD

#6822BD is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.4% C 0.218 H 296.9°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#6822BD
RGBrgb(104, 34, 189)
HSLhsl(267, 70%, 44%)
HSVhsv(267, 82%, 74%)
CMYKcmyk(45%, 82%, 0%, 25.9%)
CIE-LABlab(33.48, 59.68, -67.76)
CIE-LCHlch(33.48, 90.30, 311.37°)
OKLaboklab(45.41% 0.0984 -0.1942)
OKLCHoklch(45.41% 0.218 296.9)
XYZxyz(15.4638, 7.7609, 48.8175)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6822BD #77BD22
analogous
#2229BD #6822BD #B522BD
triadic
#6822BD #BD6822 #22BD68
tetradic
#6822BD #BD2229 #77BD22 #22BDB5
square
#6822BD #BD2229 #77BD22 #22BDB5
split-complementary
#6822BD #BDB522 #29BD22
monochromatic
#2F0F55 #4B1989 #6822BD #8740DD #A773E6

Accessibility & contrast

On white

8.23
#6822BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6822BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6822BD
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6822BD#FFFFFF#000000##FFFFFF
##6822BD1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC1
Deuteranopia (green-blind)
#004DBA
Tritanopia (blue-blind)
#514F71
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6822bd;
/* rgb */ color: rgb(104, 34, 189);
/* oklch */ color: oklch(45.4% 0.218 296.9);
Tailwind
colors: {
  custom: {
    50: '#9c67d2',
    500: '#6822bd',
    950: '#000000',
  },
}
SCSS
$custom: #6822bd;
$custom-light: #9c67d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6822bd",
  "rgb": {
    "r": 104,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 267.097,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45407,
    "c": 0.21772,
    "h": 296.9
  },
  "luminance": 0.07761
}

Semantic roles & 50–950 ramp

primary
#6822BD
secondary
#A2CD6E
accent
#EC3B9C
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6822BD

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

Preview Lab → · Contrast checker → · Palette generator →

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