#6823BC#6823BC

#6823BC is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.4% C 0.216 H 297.0°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#6823BC
RGBrgb(104, 35, 188)
HSLhsl(267, 69%, 44%)
HSVhsv(267, 81%, 74%)
CMYKcmyk(44.7%, 81.4%, 0%, 26.3%)
CIE-LABlab(33.51, 59.08, -67.12)
CIE-LCHlch(33.51, 89.42, 311.35°)
OKLaboklab(45.4% 0.098 -0.1924)
OKLCHoklch(45.4% 0.216 297)
XYZxyz(15.3846, 7.7756, 48.2575)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6823BC #77BC23
analogous
#232ABC #6823BC #B423BC
triadic
#6823BC #BC6823 #23BC68
tetradic
#6823BC #BC232A #77BC23 #23BCB4
square
#6823BC #BC232A #77BC23 #23BCB4
split-complementary
#6823BC #BCB423 #2ABC23
monochromatic
#2F1055 #4B1988 #6823BC #8741DC #A774E5

Accessibility & contrast

On white

8.22
#6823BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6823BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6823BC
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6823BC#FFFFFF#000000##FFFFFF
##6823BC1.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6823bc;
/* rgb */ color: rgb(104, 35, 188);
/* oklch */ color: oklch(45.4% 0.216 297.0);
Tailwind
colors: {
  custom: {
    50: '#9c68d1',
    500: '#6823bc',
    950: '#000000',
  },
}
SCSS
$custom: #6823bc;
$custom-light: #9c68d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6823bc",
  "rgb": {
    "r": 104,
    "g": 35,
    "b": 188
  },
  "hsl": {
    "h": 267.059,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45401,
    "c": 0.2159,
    "h": 297
  },
  "luminance": 0.07776
}

Semantic roles & 50–950 ramp

primary
#6823BC
secondary
#A2CC6F
accent
#EB3C9C
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6823BC

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

Preview Lab → · Contrast checker → · Palette generator →

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