#6823BD#6823BD

#6823BD is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.5% C 0.217 H 296.8°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#6823BD
RGBrgb(104, 35, 189)
HSLhsl(267, 69%, 44%)
HSVhsv(267, 81%, 74%)
CMYKcmyk(45%, 81.5%, 0%, 25.9%)
CIE-LABlab(33.60, 59.32, -67.56)
CIE-LCHlch(33.60, 89.91, 311.28°)
OKLaboklab(45.49% 0.0977 -0.1936)
OKLCHoklch(45.49% 0.217 296.8)
XYZxyz(15.4928, 7.8189, 48.8272)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6823BD #78BD23
analogous
#232BBD #6823BD #B523BD
triadic
#6823BD #BD6823 #23BD68
tetradic
#6823BD #BD232B #78BD23 #23BDB5
square
#6823BD #BD232B #78BD23 #23BDB5
split-complementary
#6823BD #BDB523 #2BBD23
monochromatic
#2F1056 #4C1989 #6823BD #8741DC #A775E5

Accessibility & contrast

On white

8.19
#6823BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6823BD
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6823BD#FFFFFF#000000##FFFFFF
##6823BD1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C1
Deuteranopia (green-blind)
#004DBA
Tritanopia (blue-blind)
#515072
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6823bd;
/* rgb */ color: rgb(104, 35, 189);
/* oklch */ color: oklch(45.5% 0.217 296.8);
Tailwind
colors: {
  custom: {
    50: '#9c68d2',
    500: '#6823bd',
    950: '#000000',
  },
}
SCSS
$custom: #6823bd;
$custom-light: #9c68d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6823bd",
  "rgb": {
    "r": 104,
    "g": 35,
    "b": 189
  },
  "hsl": {
    "h": 266.883,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45492,
    "c": 0.2169,
    "h": 296.8
  },
  "luminance": 0.07819
}

Semantic roles & 50–950 ramp

primary
#6823BD
secondary
#A3CD6F
accent
#EC3C9D
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6823BD

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

Preview Lab → · Contrast checker → · Palette generator →

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