#6734AC#6734AC

#6734AC is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.7% C 0.181 H 298.4°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#6734AC
RGBrgb(103, 52, 172)
HSLhsl(266, 54%, 44%)
HSVhsv(266, 70%, 67%)
CMYKcmyk(40.1%, 69.8%, 0%, 32.5%)
CIE-LABlab(34.64, 47.46, -55.79)
CIE-LCHlch(34.64, 73.24, 310.39°)
OKLaboklab(45.75% 0.086 -0.1592)
OKLCHoklch(45.75% 0.181 298.4)
XYZxyz(14.2660, 8.3179, 39.8756)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6734AC #79AC34
analogous
#343DAC #6734AC #A334AC
triadic
#6734AC #AC6734 #34AC67
tetradic
#6734AC #AC343D #79AC34 #34ACA3
square
#6734AC #AC343D #79AC34 #34ACA3
split-complementary
#6734AC #ACA334 #3DAC34
monochromatic
#2F184E #4B267D #6734AC #8652CB #A781D9

Accessibility & contrast

On white

7.88
#6734AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6734AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6734AC
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6734AC#FFFFFF#000000##FFFFFF
##6734AC1.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B0
Deuteranopia (green-blind)
#0050AA
Tritanopia (blue-blind)
#56516C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6734ac;
/* rgb */ color: rgb(103, 52, 172);
/* oklch */ color: oklch(45.7% 0.181 298.4);
Tailwind
colors: {
  custom: {
    50: '#986fc6',
    500: '#6734ac',
    950: '#000000',
  },
}
SCSS
$custom: #6734ac;
$custom-light: #986fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6734ac",
  "rgb": {
    "r": 103,
    "g": 52,
    "b": 172
  },
  "hsl": {
    "h": 265.5,
    "s": 53.571,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45746,
    "c": 0.18096,
    "h": 298.4
  },
  "luminance": 0.08318
}

Semantic roles & 50–950 ramp

primary
#6734AC
secondary
#A3C279
accent
#DD4B9F
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6734AC

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

Preview Lab → · Contrast checker → · Palette generator →

#6734AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva