#6734BB#6734BB

#6734BB is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.0% C 0.198 H 294.8°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#6734BB
RGBrgb(103, 52, 187)
HSLhsl(263, 56%, 47%)
HSVhsv(263, 72%, 73%)
CMYKcmyk(44.9%, 72.2%, 0%, 26.7%)
CIE-LABlab(35.84, 51.39, -62.72)
CIE-LCHlch(35.84, 81.09, 309.33°)
OKLaboklab(46.98% 0.0831 -0.1796)
OKLCHoklch(46.98% 0.198 294.8)
XYZxyz(15.7887, 8.9270, 47.8953)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6734BB #88BB34
analogous
#3444BB #6734BB #AB34BB
triadic
#6734BB #BB6734 #34BB67
tetradic
#6734BB #BB3444 #88BB34 #34BBAB
square
#6734BB #BB3444 #88BB34 #34BBAB
split-complementary
#6734BB #BBAB34 #44BB34
monochromatic
#32195B #4D278B #6734BB #885BD1 #AA8BDF

Accessibility & contrast

On white

7.54
#6734BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#6734BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6734BB
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6734BB#FFFFFF#000000##FFFFFF
##6734BB1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#0052B8
Tritanopia (blue-blind)
#4F5774
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6734bb;
/* rgb */ color: rgb(103, 52, 187);
/* oklch */ color: oklch(47.0% 0.198 294.8);
Tailwind
colors: {
  custom: {
    50: '#9a70d0',
    500: '#6734bb',
    950: '#000000',
  },
}
SCSS
$custom: #6734bb;
$custom-light: #9a70d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6734bb",
  "rgb": {
    "r": 103,
    "g": 52,
    "b": 187
  },
  "hsl": {
    "h": 262.667,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4698,
    "c": 0.19791,
    "h": 294.8
  },
  "luminance": 0.08927
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6734BB

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

Preview Lab → · Contrast checker → · Palette generator →

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