#6823AE#6823AE

#6823AE is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.1% C 0.202 H 300.5°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#6823AE
RGBrgb(104, 35, 174)
HSLhsl(270, 67%, 41%)
HSVhsv(270, 80%, 68%)
CMYKcmyk(40.2%, 79.9%, 0%, 31.8%)
CIE-LABlab(32.26, 55.71, -60.85)
CIE-LCHlch(32.26, 82.50, 312.48°)
OKLaboklab(44.15% 0.1024 -0.174)
OKLCHoklch(44.15% 0.202 300.5)
XYZxyz(13.9480, 7.2010, 40.6913)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6823AE #69AE23
analogous
#2324AE #6823AE #AD23AE
triadic
#6823AE #AE6823 #23AE68
tetradic
#6823AE #AE2324 #69AE23 #23AEAD
square
#6823AE #AE2324 #69AE23 #23AEAD
split-complementary
#6823AE #AEAD23 #24AE23
monochromatic
#2B0F48 #4A197B #6823AE #8737D7 #A56AE1

Accessibility & contrast

On white

8.61
#6823AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6823AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6823AE
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6823AE#FFFFFF#000000##FFFFFF
##6823AE1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB2
Deuteranopia (green-blind)
#004BAB
Tritanopia (blue-blind)
#584969
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6823ae;
/* rgb */ color: rgb(104, 35, 174);
/* oklch */ color: oklch(44.1% 0.202 300.5);
Tailwind
colors: {
  custom: {
    50: '#9a67c7',
    500: '#6823ae',
    950: '#000000',
  },
}
SCSS
$custom: #6823ae;
$custom-light: #9a67c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6823ae",
  "rgb": {
    "r": 104,
    "g": 35,
    "b": 174
  },
  "hsl": {
    "h": 269.784,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4415,
    "c": 0.20188,
    "h": 300.5
  },
  "luminance": 0.07201
}

Semantic roles & 50–950 ramp

primary
#6823AE
secondary
#97C766
accent
#E93E95
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6823AE

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

Preview Lab → · Contrast checker → · Palette generator →

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