#6734BA#6734BA

#6734BA is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.9% C 0.197 H 295.1°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#6734BA
RGBrgb(103, 52, 186)
HSLhsl(263, 56%, 47%)
HSVhsv(263, 72%, 73%)
CMYKcmyk(44.6%, 72%, 0%, 27.1%)
CIE-LABlab(35.76, 51.13, -62.26)
CIE-LCHlch(35.76, 80.57, 309.39°)
OKLaboklab(46.9% 0.0833 -0.1783)
OKLCHoklch(46.9% 0.197 295.1)
XYZxyz(15.6821, 8.8843, 47.3334)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6734BA #87BA34
analogous
#3444BA #6734BA #AA34BA
triadic
#6734BA #BA6734 #34BA67
tetradic
#6734BA #BA3444 #87BA34 #34BAAA
square
#6734BA #BA3444 #87BA34 #34BAAA
split-complementary
#6734BA #BAAA34 #44BA34
monochromatic
#32195A #4D278A #6734BA #875AD1 #AA8ADE

Accessibility & contrast

On white

7.56
#6734BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#6734BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6734BA
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6734BA#FFFFFF#000000##FFFFFF
##6734BA1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#0052B7
Tritanopia (blue-blind)
#505674
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6734ba;
/* rgb */ color: rgb(103, 52, 186);
/* oklch */ color: oklch(46.9% 0.197 295.1);
Tailwind
colors: {
  custom: {
    50: '#9a70d0',
    500: '#6734ba',
    950: '#000000',
  },
}
SCSS
$custom: #6734ba;
$custom-light: #9a70d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6734ba",
  "rgb": {
    "r": 103,
    "g": 52,
    "b": 186
  },
  "hsl": {
    "h": 262.836,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46896,
    "c": 0.19678,
    "h": 295.1
  },
  "luminance": 0.08885
}

Semantic roles & 50–950 ramp

primary
#6734BA
secondary
#ADC881
accent
#E048A6
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6734BA

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

Preview Lab → · Contrast checker → · Palette generator →

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