#6748A2#6748A2

#6748A2 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.0% C 0.140 H 296.7°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#6748A2
RGBrgb(103, 72, 162)
HSLhsl(261, 38%, 46%)
HSVhsv(261, 56%, 64%)
CMYKcmyk(36.4%, 55.6%, 0%, 36.5%)
CIE-LABlab(38.07, 33.68, -44.26)
CIE-LCHlch(38.07, 55.62, 307.27°)
OKLaboklab(48.02% 0.0629 -0.1254)
OKLCHoklch(48.02% 0.14 296.7)
XYZxyz(14.4308, 10.1267, 35.3698)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6748A2 #83A248
analogous
#4856A2 #6748A2 #9448A2
triadic
#6748A2 #A26748 #48A267
tetradic
#6748A2 #A24856 #83A248 #48A294
square
#6748A2 #A24856 #83A248 #48A294
split-complementary
#6748A2 #A29448 #56A248
monochromatic
#31224D #4C3578 #6748A2 #876ABD #A995D0

Accessibility & contrast

On white

6.94
#6748A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#6748A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6748A2
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6748A2#FFFFFF#000000##FFFFFF
##6748A21.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215AA5
Deuteranopia (green-blind)
#2A58A0
Tritanopia (blue-blind)
#595A6E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6748a2;
/* rgb */ color: rgb(103, 72, 162);
/* oklch */ color: oklch(48.0% 0.140 296.7);
Tailwind
colors: {
  custom: {
    50: '#967cbe',
    500: '#6748a2',
    950: '#000000',
  },
}
SCSS
$custom: #6748a2;
$custom-light: #967cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6748a2",
  "rgb": {
    "r": 103,
    "g": 72,
    "b": 162
  },
  "hsl": {
    "h": 260.667,
    "s": 38.462,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48017,
    "c": 0.1403,
    "h": 296.7
  },
  "luminance": 0.10127
}

Semantic roles & 50–950 ramp

primary
#6748A2
secondary
#ABBC8A
accent
#CE59A6
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0912
muted
#7E7B81

Preview Lab

Preview with #6748A2

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

Preview Lab → · Contrast checker → · Palette generator →

#6748A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva