#6748CC#6748CC

#6748CC is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.1% C 0.194 H 288.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#6748CC
RGBrgb(103, 72, 204)
HSLhsl(254, 56%, 54%)
HSVhsv(254, 65%, 80%)
CMYKcmyk(49.5%, 64.7%, 0%, 20%)
CIE-LABlab(41.02, 45.58, -64.20)
CIE-LCHlch(41.02, 78.74, 305.37°)
OKLaboklab(51.11% 0.0611 -0.184)
OKLCHoklch(51.11% 0.194 288.4)
XYZxyz(18.8068, 11.8771, 58.4166)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6748CC #ADCC48
analogous
#486BCC #6748CC #A948CC
triadic
#6748CC #CC6748 #48CC67
tetradic
#6748CC #CC486B #ADCC48 #48CCA9
square
#6748CC #CC486B #ADCC48 #48CCA9
split-complementary
#6748CC #CCA948 #6BCC48
monochromatic
#362178 #4B2FA8 #6748CC #8F78D9 #B7A8E7

Accessibility & contrast

On white

6.22
#6748CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#6748CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6748CC
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6748CC#FFFFFF#000000##FFFFFF
##6748CC1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#446884
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6748cc;
/* rgb */ color: rgb(103, 72, 204);
/* oklch */ color: oklch(51.1% 0.194 288.4);
Tailwind
colors: {
  custom: {
    50: '#9b7ddc',
    500: '#6748cc',
    950: '#000000',
  },
}
SCSS
$custom: #6748cc;
$custom-light: #9b7ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#6748cc",
  "rgb": {
    "r": 103,
    "g": 72,
    "b": 204
  },
  "hsl": {
    "h": 254.091,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51109,
    "c": 0.19389,
    "h": 288.4
  },
  "luminance": 0.11878
}

Semantic roles & 50–950 ramp

primary
#6748CC
secondary
#C7D49C
accent
#E048BC
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6748CC

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

Preview Lab → · Contrast checker → · Palette generator →

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