#6734B2#6734B2

#6734B2 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.2% C 0.188 H 296.9°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#6734B2
RGBrgb(103, 52, 178)
HSLhsl(264, 55%, 45%)
HSVhsv(264, 71%, 70%)
CMYKcmyk(42.1%, 70.8%, 0%, 30.2%)
CIE-LABlab(35.11, 49.03, -58.59)
CIE-LCHlch(35.11, 76.40, 309.92°)
OKLaboklab(46.23% 0.0849 -0.1675)
OKLCHoklch(46.23% 0.188 296.9)
XYZxyz(14.8553, 8.5536, 42.9792)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6734B2 #7FB234
analogous
#3440B2 #6734B2 #A634B2
triadic
#6734B2 #B26734 #34B267
tetradic
#6734B2 #B23440 #7FB234 #34B2A6
square
#6734B2 #B23440 #7FB234 #34B2A6
split-complementary
#6734B2 #B2A634 #40B234
monochromatic
#301853 #4C2683 #6734B2 #8656CE #A885DB

Accessibility & contrast

On white

7.75
#6734B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6734B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6734B2
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6734B2#FFFFFF#000000##FFFFFF
##6734B21.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0051AF
Tritanopia (blue-blind)
#54536F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6734b2;
/* rgb */ color: rgb(103, 52, 178);
/* oklch */ color: oklch(46.2% 0.188 296.9);
Tailwind
colors: {
  custom: {
    50: '#9970ca',
    500: '#6734b2',
    950: '#000000',
  },
}
SCSS
$custom: #6734b2;
$custom-light: #9970ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6734b2",
  "rgb": {
    "r": 103,
    "g": 52,
    "b": 178
  },
  "hsl": {
    "h": 264.286,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46232,
    "c": 0.18777,
    "h": 296.9
  },
  "luminance": 0.08554
}

Semantic roles & 50–950 ramp

primary
#6734B2
secondary
#A8C57D
accent
#DE4AA2
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6734B2

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

Preview Lab → · Contrast checker → · Palette generator →

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