#6823D4#6823D4

#6823D4 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.7% C 0.240 H 292.0°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#6823D4
RGBrgb(104, 35, 212)
HSLhsl(263, 72%, 48%)
HSVhsv(263, 83%, 83%)
CMYKcmyk(50.9%, 83.5%, 0%, 16.9%)
CIE-LABlab(35.79, 64.92, -77.40)
CIE-LCHlch(35.79, 101.02, 309.99°)
OKLaboklab(47.65% 0.0897 -0.2224)
OKLCHoklch(47.65% 0.24 292)
XYZxyz(18.1902, 8.8979, 63.0336)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6823D4 #8FD423
analogous
#2336D4 #6823D4 #C023D4
triadic
#6823D4 #D46823 #23D468
tetradic
#6823D4 #D42336 #8FD423 #23D4C0
square
#6823D4 #D42336 #8FD423 #23D4C0
split-complementary
#6823D4 #D4C023 #36D423
monochromatic
#34126B #4E1A9F #6823D4 #8A52E2 #AE86EB

Accessibility & contrast

On white

7.55
#6823D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#6823D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6823D4
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6823D4#FFFFFF#000000##FFFFFF
##6823D41.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D9
Deuteranopia (green-blind)
#0051D1
Tritanopia (blue-blind)
#425A7F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6823d4;
/* rgb */ color: rgb(104, 35, 212);
/* oklch */ color: oklch(47.7% 0.240 292.0);
Tailwind
colors: {
  custom: {
    50: '#9f69e3',
    500: '#6823d4',
    950: '#000000',
  },
}
SCSS
$custom: #6823d4;
$custom-light: #9f69e3;
$custom-dark: #000000;
JSON
{
  "hex": "#6823d4",
  "rgb": {
    "r": 104,
    "g": 35,
    "b": 212
  },
  "hsl": {
    "h": 263.39,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47655,
    "c": 0.23982,
    "h": 292
  },
  "luminance": 0.08899
}

Semantic roles & 50–950 ramp

primary
#6823D4
secondary
#B3D47E
accent
#EE39A8
background
#FAF6FE
surface
#F4EBFC
border
#CEC6D5
text
#100716
muted
#7F7A84

Preview Lab

Preview with #6823D4

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

Preview Lab → · Contrast checker → · Palette generator →

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