#6734C2#6734C2

#6734C2 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.6% C 0.206 H 293.4°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#6734C2
RGBrgb(103, 52, 194)
HSLhsl(262, 58%, 48%)
HSVhsv(262, 73%, 76%)
CMYKcmyk(46.9%, 73.2%, 0%, 23.9%)
CIE-LABlab(36.43, 53.24, -65.87)
CIE-LCHlch(36.43, 84.70, 308.95°)
OKLaboklab(47.58% 0.0816 -0.1888)
OKLCHoklch(47.58% 0.206 293.4)
XYZxyz(16.5564, 9.2341, 51.9385)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6734C2 #8FC234
analogous
#3448C2 #6734C2 #AE34C2
triadic
#6734C2 #C26734 #34C267
tetradic
#6734C2 #C23448 #8FC234 #34C2AE
square
#6734C2 #C23448 #8FC234 #34C2AE
split-complementary
#6734C2 #C2AE34 #48C234
monochromatic
#341A61 #4D2792 #6734C2 #895FD4 #AD8FE1

Accessibility & contrast

On white

7.38
#6734C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6734C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6734C2
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6734C2#FFFFFF#000000##FFFFFF
##6734C21.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C6
Deuteranopia (green-blind)
#0053BF
Tritanopia (blue-blind)
#4B5978
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6734c2;
/* rgb */ color: rgb(103, 52, 194);
/* oklch */ color: oklch(47.6% 0.206 293.4);
Tailwind
colors: {
  custom: {
    50: '#9b70d6',
    500: '#6734c2',
    950: '#000000',
  },
}
SCSS
$custom: #6734c2;
$custom-light: #9b70d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6734c2",
  "rgb": {
    "r": 103,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 261.549,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47578,
    "c": 0.20572,
    "h": 293.4
  },
  "luminance": 0.09235
}

Semantic roles & 50–950 ramp

primary
#6734C2
secondary
#B3CC86
accent
#E147AA
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6734C2

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

Preview Lab → · Contrast checker → · Palette generator →

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