#6734B5#6734B5

#6734B5 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.5% C 0.191 H 296.2°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#6734B5
RGBrgb(103, 52, 181)
HSLhsl(264, 55%, 46%)
HSVhsv(264, 71%, 71%)
CMYKcmyk(43.1%, 71.3%, 0%, 29%)
CIE-LABlab(35.35, 49.81, -59.98)
CIE-LCHlch(35.35, 77.97, 309.71°)
OKLaboklab(46.48% 0.0844 -0.1715)
OKLCHoklch(46.48% 0.191 296.2)
XYZxyz(15.1598, 8.6754, 44.5829)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6734B5 #82B534
analogous
#3441B5 #6734B5 #A734B5
triadic
#6734B5 #B56734 #34B567
tetradic
#6734B5 #B53441 #82B534 #34B5A7
square
#6734B5 #B53441 #82B534 #34B5A7
split-complementary
#6734B5 #B5A734 #41B534
monochromatic
#311956 #4C2685 #6734B5 #8757CF #A987DC

Accessibility & contrast

On white

7.68
#6734B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#6734B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6734B5
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6734B5#FFFFFF#000000##FFFFFF
##6734B51.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#0051B2
Tritanopia (blue-blind)
#525471
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6734b5;
/* rgb */ color: rgb(103, 52, 181);
/* oklch */ color: oklch(46.5% 0.191 296.2);
Tailwind
colors: {
  custom: {
    50: '#9970cc',
    500: '#6734b5',
    950: '#000000',
  },
}
SCSS
$custom: #6734b5;
$custom-light: #9970cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6734b5",
  "rgb": {
    "r": 103,
    "g": 52,
    "b": 181
  },
  "hsl": {
    "h": 263.721,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46479,
    "c": 0.19116,
    "h": 296.2
  },
  "luminance": 0.08676
}

Semantic roles & 50–950 ramp

primary
#6734B5
secondary
#AAC67F
accent
#DF49A4
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6734B5

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

Preview Lab → · Contrast checker → · Palette generator →

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