#6734C5#6734C5

#6734C5 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.8% C 0.209 H 292.8°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#6734C5
RGBrgb(103, 52, 197)
HSLhsl(261, 58%, 49%)
HSVhsv(261, 74%, 77%)
CMYKcmyk(47.7%, 73.6%, 0%, 22.7%)
CIE-LABlab(36.69, 54.04, -67.21)
CIE-LCHlch(36.69, 86.24, 308.80°)
OKLaboklab(47.84% 0.0809 -0.1928)
OKLCHoklch(47.84% 0.209 292.8)
XYZxyz(16.8967, 9.3702, 53.7309)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6734C5 #92C534
analogous
#344AC5 #6734C5 #B034C5
triadic
#6734C5 #C56734 #34C567
tetradic
#6734C5 #C5344A #92C534 #34C5B0
square
#6734C5 #C5344A #92C534 #34C5B0
split-complementary
#6734C5 #C5B034 #4AC534
monochromatic
#341A64 #4E2795 #6734C5 #8A61D5 #AE91E2

Accessibility & contrast

On white

7.31
#6734C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6734C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6734C5
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6734C5#FFFFFF#000000##FFFFFF
##6734C51.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C9
Deuteranopia (green-blind)
#0053C2
Tritanopia (blue-blind)
#4A5B7A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6734c5;
/* rgb */ color: rgb(103, 52, 197);
/* oklch */ color: oklch(47.8% 0.209 292.8);
Tailwind
colors: {
  custom: {
    50: '#9b70d8',
    500: '#6734c5',
    950: '#000000',
  },
}
SCSS
$custom: #6734c5;
$custom-light: #9b70d8;
$custom-dark: #000000;
JSON
{
  "hex": "#6734c5",
  "rgb": {
    "r": 103,
    "g": 52,
    "b": 197
  },
  "hsl": {
    "h": 261.103,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47837,
    "c": 0.20905,
    "h": 292.8
  },
  "luminance": 0.09371
}

Semantic roles & 50–950 ramp

primary
#6734C5
secondary
#B5CD88
accent
#E146AB
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6734C5

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

Preview Lab → · Contrast checker → · Palette generator →

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