#6734C6#6734C6

#6734C6 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.9% C 0.210 H 292.6°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#6734C6
RGBrgb(103, 52, 198)
HSLhsl(261, 58%, 49%)
HSVhsv(261, 74%, 78%)
CMYKcmyk(48%, 73.7%, 0%, 22.4%)
CIE-LABlab(36.77, 54.31, -67.65)
CIE-LCHlch(36.77, 86.75, 308.76°)
OKLaboklab(47.92% 0.0807 -0.1941)
OKLCHoklch(47.92% 0.21 292.6)
XYZxyz(17.0117, 9.4162, 54.3363)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6734C6 #93C634
analogous
#344AC6 #6734C6 #B034C6
triadic
#6734C6 #C66734 #34C667
tetradic
#6734C6 #C6344A #93C634 #34C6B0
square
#6734C6 #C6344A #93C634 #34C6B0
split-complementary
#6734C6 #C6B034 #4AC634
monochromatic
#351B65 #4E2796 #6734C6 #8A62D6 #AE92E2

Accessibility & contrast

On white

7.28
#6734C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#6734C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6734C6
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6734C6#FFFFFF#000000##FFFFFF
##6734C61.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CA
Deuteranopia (green-blind)
#0054C3
Tritanopia (blue-blind)
#495B7A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6734c6;
/* rgb */ color: rgb(103, 52, 198);
/* oklch */ color: oklch(47.9% 0.210 292.6);
Tailwind
colors: {
  custom: {
    50: '#9b70d8',
    500: '#6734c6',
    950: '#000000',
  },
}
SCSS
$custom: #6734c6;
$custom-light: #9b70d8;
$custom-dark: #000000;
JSON
{
  "hex": "#6734c6",
  "rgb": {
    "r": 103,
    "g": 52,
    "b": 198
  },
  "hsl": {
    "h": 260.959,
    "s": 58.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.47924,
    "c": 0.21016,
    "h": 292.6
  },
  "luminance": 0.09417
}

Semantic roles & 50–950 ramp

primary
#6734C6
secondary
#B5CD89
accent
#E246AB
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6734C6

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

Preview Lab → · Contrast checker → · Palette generator →

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