#6726BD#6726BD

#6726BD is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.6% C 0.214 H 296.1°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#6726BD
RGBrgb(103, 38, 189)
HSLhsl(266, 67%, 45%)
HSVhsv(266, 80%, 74%)
CMYKcmyk(45.5%, 79.9%, 0%, 25.9%)
CIE-LABlab(33.86, 58.06, -67.14)
CIE-LCHlch(33.86, 88.76, 310.85°)
OKLaboklab(45.65% 0.0941 -0.1925)
OKLCHoklch(45.65% 0.214 296.1)
XYZxyz(15.4695, 7.9435, 48.8525)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6726BD #7CBD26
analogous
#2630BD #6726BD #B326BD
triadic
#6726BD #BD6726 #26BD67
tetradic
#6726BD #BD2630 #7CBD26 #26BDB3
square
#6726BD #BD2630 #7CBD26 #26BDB3
split-complementary
#6726BD #BDB326 #30BD26
monochromatic
#2F1257 #4B1C8A #6726BD #8646DA #A779E4

Accessibility & contrast

On white

8.11
#6726BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6726BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6726BD
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6726BD#FFFFFF#000000##FFFFFF
##6726BD1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C1
Deuteranopia (green-blind)
#004DBA
Tritanopia (blue-blind)
#4F5172
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6726bd;
/* rgb */ color: rgb(103, 38, 189);
/* oklch */ color: oklch(45.6% 0.214 296.1);
Tailwind
colors: {
  custom: {
    50: '#9b69d2',
    500: '#6726bd',
    950: '#000000',
  },
}
SCSS
$custom: #6726bd;
$custom-light: #9b69d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6726bd",
  "rgb": {
    "r": 103,
    "g": 38,
    "b": 189
  },
  "hsl": {
    "h": 265.828,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45646,
    "c": 0.21424,
    "h": 296.1
  },
  "luminance": 0.07944
}

Semantic roles & 50–950 ramp

primary
#6726BD
secondary
#A6CC73
accent
#E93EA0
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6726BD

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

Preview Lab → · Contrast checker → · Palette generator →

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