#6734B8#6734B8

#6734B8 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.7% C 0.195 H 295.5°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#6734B8
RGBrgb(103, 52, 184)
HSLhsl(263, 56%, 46%)
HSVhsv(263, 72%, 72%)
CMYKcmyk(44%, 71.7%, 0%, 27.8%)
CIE-LABlab(35.60, 50.60, -61.35)
CIE-LCHlch(35.60, 79.53, 309.52°)
OKLaboklab(46.73% 0.0838 -0.1756)
OKLCHoklch(46.73% 0.195 295.5)
XYZxyz(15.4709, 8.7999, 46.2215)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6734B8 #85B834
analogous
#3443B8 #6734B8 #A934B8
triadic
#6734B8 #B86734 #34B867
tetradic
#6734B8 #B83443 #85B834 #34B8A9
square
#6734B8 #B83443 #85B834 #34B8A9
split-complementary
#6734B8 #B8A934 #43B834
monochromatic
#321959 #4C2788 #6734B8 #8759D0 #AA89DE

Accessibility & contrast

On white

7.61
#6734B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#6734B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6734B8
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6734B8#FFFFFF#000000##FFFFFF
##6734B81.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#0052B5
Tritanopia (blue-blind)
#515673
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6734b8;
/* rgb */ color: rgb(103, 52, 184);
/* oklch */ color: oklch(46.7% 0.195 295.5);
Tailwind
colors: {
  custom: {
    50: '#9970ce',
    500: '#6734b8',
    950: '#000000',
  },
}
SCSS
$custom: #6734b8;
$custom-light: #9970ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6734b8",
  "rgb": {
    "r": 103,
    "g": 52,
    "b": 184
  },
  "hsl": {
    "h": 263.182,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46728,
    "c": 0.19454,
    "h": 295.5
  },
  "luminance": 0.088
}

Semantic roles & 50–950 ramp

primary
#6734B8
secondary
#ACC880
accent
#DF49A5
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0814
muted
#7E7B82

Preview Lab

Preview with #6734B8

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

Preview Lab → · Contrast checker → · Palette generator →

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