#6748C2#6748C2

#6748C2 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.3% C 0.181 H 290.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#6748C2
RGBrgb(103, 72, 194)
HSLhsl(255, 50%, 52%)
HSVhsv(255, 63%, 76%)
CMYKcmyk(46.9%, 62.9%, 0%, 23.9%)
CIE-LABlab(40.27, 42.71, -59.62)
CIE-LCHlch(40.27, 73.34, 305.61°)
OKLaboklab(50.33% 0.0621 -0.1705)
OKLCHoklch(50.33% 0.181 290)
XYZxyz(17.6457, 11.4127, 52.3016)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6748C2 #A3C248
analogous
#4866C2 #6748C2 #A448C2
triadic
#6748C2 #C26748 #48C267
tetradic
#6748C2 #C24866 #A3C248 #48C2A4
square
#6748C2 #C24866 #A3C248 #48C2A4
split-complementary
#6748C2 #C2A448 #66C248
monochromatic
#36246C #4D339A #6748C2 #8D76D1 #B3A4E1

Accessibility & contrast

On white

6.40
#6748C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#6748C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6748C2
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6748C2#FFFFFF#000000##FFFFFF
##6748C21.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#005CBF
Tritanopia (blue-blind)
#4A657E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6748c2;
/* rgb */ color: rgb(103, 72, 194);
/* oklch */ color: oklch(50.3% 0.181 290.0);
Tailwind
colors: {
  custom: {
    50: '#997cd5',
    500: '#6748c2',
    950: '#000000',
  },
}
SCSS
$custom: #6748c2;
$custom-light: #997cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#6748c2",
  "rgb": {
    "r": 103,
    "g": 72,
    "b": 194
  },
  "hsl": {
    "h": 255.246,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50327,
    "c": 0.18149,
    "h": 290
  },
  "luminance": 0.11413
}

Semantic roles & 50–950 ramp

primary
#6748C2
secondary
#C0CE98
accent
#DA4EB6
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #6748C2

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

Preview Lab → · Contrast checker → · Palette generator →

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