#6823A7#6823A7

#6823A7 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.5% C 0.195 H 302.4°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#6823A7
RGBrgb(104, 35, 167)
HSLhsl(271, 65%, 40%)
HSVhsv(271, 79%, 65%)
CMYKcmyk(37.7%, 79%, 0%, 34.5%)
CIE-LABlab(31.66, 54.05, -57.63)
CIE-LCHlch(31.66, 79.01, 313.16°)
OKLaboklab(43.55% 0.1044 -0.1645)
OKLCHoklch(43.55% 0.195 302.4)
XYZxyz(13.2833, 6.9351, 37.1905)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6823A7 #62A723
analogous
#2623A7 #6823A7 #A723A4
triadic
#6823A7 #A76823 #23A768
tetradic
#6823A7 #A72623 #62A723 #23A4A7
square
#6823A7 #A72623 #62A723 #23A4A7
split-complementary
#6823A7 #A4A723 #23A726
monochromatic
#290E42 #481874 #6823A7 #8733D4 #A566DF

Accessibility & contrast

On white

8.80
#6823A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6823A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6823A7
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6823A7#FFFFFF#000000##FFFFFF
##6823A71.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AB
Deuteranopia (green-blind)
#004AA4
Tritanopia (blue-blind)
#5B4665
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6823a7;
/* rgb */ color: rgb(104, 35, 167);
/* oklch */ color: oklch(43.5% 0.195 302.4);
Tailwind
colors: {
  custom: {
    50: '#9966c2',
    500: '#6823a7',
    950: '#000000',
  },
}
SCSS
$custom: #6823a7;
$custom-light: #9966c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6823a7",
  "rgb": {
    "r": 104,
    "g": 35,
    "b": 167
  },
  "hsl": {
    "h": 271.364,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43545,
    "c": 0.19485,
    "h": 302.4
  },
  "luminance": 0.06935
}

Semantic roles & 50–950 ramp

primary
#6823A7
secondary
#91C461
accent
#E83F90
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6823A7

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

Preview Lab → · Contrast checker → · Palette generator →

#6823A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva