#6827C4#6827C4

#6827C4 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.5% C 0.221 H 294.8°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#6827C4
RGBrgb(104, 39, 196)
HSLhsl(265, 67%, 46%)
HSVhsv(265, 80%, 77%)
CMYKcmyk(46.9%, 80.1%, 0%, 23.1%)
CIE-LABlab(34.76, 59.54, -69.78)
CIE-LCHlch(34.76, 91.73, 310.47°)
OKLaboklab(46.49% 0.0927 -0.2002)
OKLCHoklch(46.49% 0.221 294.8)
XYZxyz(16.3955, 8.3791, 52.9673)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6827C4 #83C427
analogous
#2734C4 #6827C4 #B627C4
triadic
#6827C4 #C46827 #27C468
tetradic
#6827C4 #C42734 #83C427 #27C4B6
square
#6827C4 #C42734 #83C427 #27C4B6
split-complementary
#6827C4 #C4B627 #34C427
monochromatic
#32135E #4D1D91 #6827C4 #884DDC #AA80E6

Accessibility & contrast

On white

7.85
#6827C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6827C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6827C4
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6827C4#FFFFFF#000000##FFFFFF
##6827C41.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C8
Deuteranopia (green-blind)
#004FC1
Tritanopia (blue-blind)
#4D5476
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6827c4;
/* rgb */ color: rgb(104, 39, 196);
/* oklch */ color: oklch(46.5% 0.221 294.8);
Tailwind
colors: {
  custom: {
    50: '#9c6ad7',
    500: '#6827c4',
    950: '#000000',
  },
}
SCSS
$custom: #6827c4;
$custom-light: #9c6ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#6827c4",
  "rgb": {
    "r": 104,
    "g": 39,
    "b": 196
  },
  "hsl": {
    "h": 264.841,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46489,
    "c": 0.22059,
    "h": 294.8
  },
  "luminance": 0.0838
}

Semantic roles & 50–950 ramp

primary
#6827C4
secondary
#ABCE79
accent
#EA3EA3
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0715
muted
#7F7A83

Preview Lab

Preview with #6827C4

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

Preview Lab → · Contrast checker → · Palette generator →

#6827C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva