#6826C7#6826C7

#6826C7 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.7% C 0.224 H 294.3°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#6826C7
RGBrgb(104, 38, 199)
HSLhsl(265, 68%, 46%)
HSVhsv(265, 81%, 78%)
CMYKcmyk(47.7%, 80.9%, 0%, 22%)
CIE-LABlab(34.91, 60.66, -71.29)
CIE-LCHlch(34.91, 93.61, 310.39°)
OKLaboklab(46.68% 0.0924 -0.2046)
OKLCHoklch(46.68% 0.224 294.3)
XYZxyz(16.7080, 8.4523, 54.7729)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6826C7 #85C726
analogous
#2635C7 #6826C7 #B926C7
triadic
#6826C7 #C76826 #26C768
tetradic
#6826C7 #C72635 #85C726 #26C7B9
square
#6826C7 #C72635 #85C726 #26C7B9
split-complementary
#6826C7 #C7B926 #35C726
monochromatic
#321260 #4D1C94 #6826C7 #884DDD #AA81E7

Accessibility & contrast

On white

7.80
#6826C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6826C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6826C7
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6826C7#FFFFFF#000000##FFFFFF
##6826C71.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CB
Deuteranopia (green-blind)
#004FC4
Tritanopia (blue-blind)
#4B5578
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6826c7;
/* rgb */ color: rgb(104, 38, 199);
/* oklch */ color: oklch(46.7% 0.224 294.3);
Tailwind
colors: {
  custom: {
    50: '#9d6ad9',
    500: '#6826c7',
    950: '#000000',
  },
}
SCSS
$custom: #6826c7;
$custom-light: #9d6ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#6826c7",
  "rgb": {
    "r": 104,
    "g": 38,
    "b": 199
  },
  "hsl": {
    "h": 264.596,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46675,
    "c": 0.22449,
    "h": 294.3
  },
  "luminance": 0.08453
}

Semantic roles & 50–950 ramp

primary
#6826C7
secondary
#ACCF79
accent
#EB3DA4
background
#FAF6FD
surface
#F4EBFB
border
#CEC6D4
text
#0F0715
muted
#7F7A83

Preview Lab

Preview with #6826C7

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

Preview Lab → · Contrast checker → · Palette generator →

#6826C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva