#6734AE#6734AE

#6734AE is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.9% C 0.183 H 297.9°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#6734AE
RGBrgb(103, 52, 174)
HSLhsl(265, 54%, 44%)
HSVhsv(265, 70%, 68%)
CMYKcmyk(40.8%, 70.1%, 0%, 31.8%)
CIE-LABlab(34.79, 47.98, -56.73)
CIE-LCHlch(34.79, 74.30, 310.23°)
OKLaboklab(45.91% 0.0856 -0.162)
OKLCHoklch(45.91% 0.183 297.9)
XYZxyz(14.4595, 8.3953, 40.8948)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6734AE #7BAE34
analogous
#343EAE #6734AE #A434AE
triadic
#6734AE #AE6734 #34AE67
tetradic
#6734AE #AE343E #7BAE34 #34AEA4
square
#6734AE #AE343E #7BAE34 #34AEA4
split-complementary
#6734AE #AEA434 #3EAE34
monochromatic
#2F1850 #4B267F #6734AE #8653CC #A783DA

Accessibility & contrast

On white

7.84
#6734AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6734AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6734AE
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6734AE#FFFFFF#000000##FFFFFF
##6734AE1.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)
#0052B2
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#56526D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6734ae;
/* rgb */ color: rgb(103, 52, 174);
/* oklch */ color: oklch(45.9% 0.183 297.9);
Tailwind
colors: {
  custom: {
    50: '#986fc7',
    500: '#6734ae',
    950: '#000000',
  },
}
SCSS
$custom: #6734ae;
$custom-light: #986fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6734ae",
  "rgb": {
    "r": 103,
    "g": 52,
    "b": 174
  },
  "hsl": {
    "h": 265.082,
    "s": 53.982,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45907,
    "c": 0.18323,
    "h": 297.9
  },
  "luminance": 0.08396
}

Semantic roles & 50–950 ramp

primary
#6734AE
secondary
#A5C37B
accent
#DD4AA0
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6734AE

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

Preview Lab → · Contrast checker → · Palette generator →

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