#6734BC#6734BC

#6734BC is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.1% C 0.199 H 294.6°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#6734BC
RGBrgb(103, 52, 188)
HSLhsl(263, 57%, 47%)
HSVhsv(263, 72%, 74%)
CMYKcmyk(45.2%, 72.3%, 0%, 26.3%)
CIE-LABlab(35.93, 51.66, -63.17)
CIE-LCHlch(35.93, 81.60, 309.27°)
OKLaboklab(47.07% 0.0829 -0.1809)
OKLCHoklch(47.07% 0.199 294.6)
XYZxyz(15.8962, 8.9700, 48.4610)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6734BC #89BC34
analogous
#3445BC #6734BC #AB34BC
triadic
#6734BC #BC6734 #34BC67
tetradic
#6734BC #BC3445 #89BC34 #34BCAB
square
#6734BC #BC3445 #89BC34 #34BCAB
split-complementary
#6734BC #BCAB34 #45BC34
monochromatic
#32195C #4D278C #6734BC #885BD2 #AB8BDF

Accessibility & contrast

On white

7.52
#6734BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6734BC
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6734BC#FFFFFF#000000##FFFFFF
##6734BC1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C0
Deuteranopia (green-blind)
#0052B9
Tritanopia (blue-blind)
#4F5775
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6734bc;
/* rgb */ color: rgb(103, 52, 188);
/* oklch */ color: oklch(47.1% 0.199 294.6);
Tailwind
colors: {
  custom: {
    50: '#9a70d1',
    500: '#6734bc',
    950: '#000000',
  },
}
SCSS
$custom: #6734bc;
$custom-light: #9a70d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6734bc",
  "rgb": {
    "r": 103,
    "g": 52,
    "b": 188
  },
  "hsl": {
    "h": 262.5,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47065,
    "c": 0.19903,
    "h": 294.6
  },
  "luminance": 0.0897
}

Semantic roles & 50–950 ramp

primary
#6734BC
secondary
#AFC983
accent
#E048A7
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6734BC

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

Preview Lab → · Contrast checker → · Palette generator →

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