#6734C8#6734C8

#6734C8 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.1% C 0.212 H 292.2°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#6734C8
RGBrgb(103, 52, 200)
HSLhsl(261, 59%, 49%)
HSVhsv(261, 74%, 78%)
CMYKcmyk(48.5%, 74%, 0%, 21.6%)
CIE-LABlab(36.95, 54.84, -68.53)
CIE-LCHlch(36.95, 87.77, 308.67°)
OKLaboklab(48.1% 0.0802 -0.1967)
OKLCHoklch(48.1% 0.212 292.2)
XYZxyz(17.2439, 9.5091, 55.5592)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6734C8 #95C834
analogous
#344BC8 #6734C8 #B134C8
triadic
#6734C8 #C86734 #34C867
tetradic
#6734C8 #C8344B #95C834 #34C8B1
square
#6734C8 #C8344B #95C834 #34C8B1
split-complementary
#6734C8 #C8B134 #4BC834
monochromatic
#351B67 #4E2797 #6734C8 #8B63D6 #AF93E3

Accessibility & contrast

On white

7.24
#6734C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#6734C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6734C8
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6734C8#FFFFFF#000000##FFFFFF
##6734C81.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CC
Deuteranopia (green-blind)
#0054C5
Tritanopia (blue-blind)
#485C7C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6734c8;
/* rgb */ color: rgb(103, 52, 200);
/* oklch */ color: oklch(48.1% 0.212 292.2);
Tailwind
colors: {
  custom: {
    50: '#9b71da',
    500: '#6734c8',
    950: '#000000',
  },
}
SCSS
$custom: #6734c8;
$custom-light: #9b71da;
$custom-dark: #000000;
JSON
{
  "hex": "#6734c8",
  "rgb": {
    "r": 103,
    "g": 52,
    "b": 200
  },
  "hsl": {
    "h": 260.676,
    "s": 58.73,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48099,
    "c": 0.21238,
    "h": 292.2
  },
  "luminance": 0.0951
}

Semantic roles & 50–950 ramp

primary
#6734C8
secondary
#B7CE8A
accent
#E246AC
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6734C8

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

Preview Lab → · Contrast checker → · Palette generator →

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