#6726C7#6726C7

#6726C7 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.6% C 0.224 H 293.9°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#6726C7
RGBrgb(103, 38, 199)
HSLhsl(264, 68%, 46%)
HSVhsv(264, 81%, 78%)
CMYKcmyk(48.2%, 80.9%, 0%, 22%)
CIE-LABlab(34.79, 60.53, -71.49)
CIE-LCHlch(34.79, 93.67, 310.25°)
OKLaboklab(46.57% 0.0909 -0.2052)
OKLCHoklch(46.57% 0.224 293.9)
XYZxyz(16.5926, 8.3928, 54.7675)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6726C7 #86C726
analogous
#2635C7 #6726C7 #B826C7
triadic
#6726C7 #C76726 #26C767
tetradic
#6726C7 #C72635 #86C726 #26C7B8
square
#6726C7 #C72635 #86C726 #26C7B8
split-complementary
#6726C7 #C7B826 #35C726
monochromatic
#321260 #4C1C94 #6726C7 #874DDD #AA81E7

Accessibility & contrast

On white

7.84
#6726C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6726C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6726C7
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6726C7#FFFFFF#000000##FFFFFF
##6726C71.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CB
Deuteranopia (green-blind)
#004FC4
Tritanopia (blue-blind)
#495578
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6726c7;
/* rgb */ color: rgb(103, 38, 199);
/* oklch */ color: oklch(46.6% 0.224 293.9);
Tailwind
colors: {
  custom: {
    50: '#9c69d9',
    500: '#6726c7',
    950: '#000000',
  },
}
SCSS
$custom: #6726c7;
$custom-light: #9c69d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6726c7",
  "rgb": {
    "r": 103,
    "g": 38,
    "b": 199
  },
  "hsl": {
    "h": 264.224,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46566,
    "c": 0.22443,
    "h": 293.9
  },
  "luminance": 0.08393
}

Semantic roles & 50–950 ramp

primary
#6726C7
secondary
#ADCF79
accent
#EB3DA5
background
#FAF6FD
surface
#F4EBFB
border
#CEC6D4
text
#0F0715
muted
#7F7A83

Preview Lab

Preview with #6726C7

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

Preview Lab → · Contrast checker → · Palette generator →

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