#6820BD#6820BD

#6820BD is a mid, highly saturated violet. Relative luminance 0.076; OKLCH L 45.2% C 0.219 H 297.0°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#6820BD
RGBrgb(104, 32, 189)
HSLhsl(268, 71%, 43%)
HSVhsv(268, 83%, 74%)
CMYKcmyk(45%, 83.1%, 0%, 25.9%)
CIE-LABlab(33.24, 60.38, -68.15)
CIE-LCHlch(33.24, 91.05, 311.54°)
OKLaboklab(45.24% 0.0997 -0.1953)
OKLCHoklch(45.24% 0.219 297)
XYZxyz(15.4083, 7.6499, 48.7990)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6820BD #75BD20
analogous
#2026BD #6820BD #B620BD
triadic
#6820BD #BD6820 #20BD68
tetradic
#6820BD #BD2026 #75BD20 #20BDB6
square
#6820BD #BD2026 #75BD20 #20BDB6
split-complementary
#6820BD #BDB620 #26BD20
monochromatic
#2E0E54 #4B1789 #6820BD #863CDE #A771E7

Accessibility & contrast

On white

8.30
#6820BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6820BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6820BD
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6820BD#FFFFFF#000000##FFFFFF
##6820BD1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6820bd;
/* rgb */ color: rgb(104, 32, 189);
/* oklch */ color: oklch(45.2% 0.219 297.0);
Tailwind
colors: {
  custom: {
    50: '#9c66d2',
    500: '#6820bd',
    950: '#000000',
  },
}
SCSS
$custom: #6820bd;
$custom-light: #9c66d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6820bd",
  "rgb": {
    "r": 104,
    "g": 32,
    "b": 189
  },
  "hsl": {
    "h": 267.516,
    "s": 71.041,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45244,
    "c": 0.2193,
    "h": 297
  },
  "luminance": 0.0765
}

Semantic roles & 50–950 ramp

primary
#6820BD
secondary
#A0CD6B
accent
#EE3A9B
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0614
muted
#7F7A83

Preview Lab

Preview with #6820BD

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

Preview Lab → · Contrast checker → · Palette generator →

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