#6734C3#6734C3

#6734C3 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.7% C 0.207 H 293.2°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#6734C3
RGBrgb(103, 52, 195)
HSLhsl(261, 58%, 48%)
HSVhsv(261, 73%, 76%)
CMYKcmyk(47.2%, 73.3%, 0%, 23.5%)
CIE-LABlab(36.52, 53.51, -66.32)
CIE-LCHlch(36.52, 85.21, 308.90°)
OKLaboklab(47.66% 0.0814 -0.1902)
OKLCHoklch(47.66% 0.207 293.2)
XYZxyz(16.6691, 9.2791, 52.5320)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6734C3 #90C334
analogous
#3448C3 #6734C3 #AE34C3
triadic
#6734C3 #C36734 #34C367
tetradic
#6734C3 #C33448 #90C334 #34C3AE
square
#6734C3 #C33448 #90C334 #34C3AE
split-complementary
#6734C3 #C3AE34 #48C334
monochromatic
#341A62 #4D2793 #6734C3 #8960D5 #AD90E1

Accessibility & contrast

On white

7.35
#6734C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#6734C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6734C3
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6734C3#FFFFFF#000000##FFFFFF
##6734C31.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C7
Deuteranopia (green-blind)
#0053C0
Tritanopia (blue-blind)
#4B5A79
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6734c3;
/* rgb */ color: rgb(103, 52, 195);
/* oklch */ color: oklch(47.7% 0.207 293.2);
Tailwind
colors: {
  custom: {
    50: '#9b70d6',
    500: '#6734c3',
    950: '#000000',
  },
}
SCSS
$custom: #6734c3;
$custom-light: #9b70d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6734c3",
  "rgb": {
    "r": 103,
    "g": 52,
    "b": 195
  },
  "hsl": {
    "h": 261.399,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47664,
    "c": 0.20683,
    "h": 293.2
  },
  "luminance": 0.0928
}

Semantic roles & 50–950 ramp

primary
#6734C3
secondary
#B3CC87
accent
#E147AA
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6734C3

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

Preview Lab → · Contrast checker → · Palette generator →

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