#6734B3#6734B3

#6734B3 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.3% C 0.189 H 296.7°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#6734B3
RGBrgb(103, 52, 179)
HSLhsl(264, 55%, 45%)
HSVhsv(264, 71%, 70%)
CMYKcmyk(42.5%, 70.9%, 0%, 29.8%)
CIE-LABlab(35.19, 49.29, -59.05)
CIE-LCHlch(35.19, 76.92, 309.85°)
OKLaboklab(46.31% 0.0847 -0.1688)
OKLCHoklch(46.31% 0.189 296.7)
XYZxyz(14.9561, 8.5939, 43.5099)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6734B3 #80B334
analogous
#3441B3 #6734B3 #A634B3
triadic
#6734B3 #B36734 #34B367
tetradic
#6734B3 #B33441 #80B334 #34B3A6
square
#6734B3 #B33441 #80B334 #34B3A6
split-complementary
#6734B3 #B3A634 #41B334
monochromatic
#301854 #4C2684 #6734B3 #8656CE #A886DC

Accessibility & contrast

On white

7.72
#6734B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#6734B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6734B3
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6734B3#FFFFFF#000000##FFFFFF
##6734B31.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#535470
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6734b3;
/* rgb */ color: rgb(103, 52, 179);
/* oklch */ color: oklch(46.3% 0.189 296.7);
Tailwind
colors: {
  custom: {
    50: '#9970cb',
    500: '#6734b3',
    950: '#000000',
  },
}
SCSS
$custom: #6734b3;
$custom-light: #9970cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6734b3",
  "rgb": {
    "r": 103,
    "g": 52,
    "b": 179
  },
  "hsl": {
    "h": 264.094,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46314,
    "c": 0.1889,
    "h": 296.7
  },
  "luminance": 0.08594
}

Semantic roles & 50–950 ramp

primary
#6734B3
secondary
#A8C57D
accent
#DE49A3
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6734B3

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

Preview Lab → · Contrast checker → · Palette generator →

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