#6748CF#6748CF

#6748CF is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.3% C 0.198 H 287.9°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#6748CF
RGBrgb(103, 72, 207)
HSLhsl(254, 58%, 55%)
HSVhsv(254, 65%, 81%)
CMYKcmyk(50.2%, 65.2%, 0%, 18.8%)
CIE-LABlab(41.25, 46.45, -65.56)
CIE-LCHlch(41.25, 80.35, 305.32°)
OKLaboklab(51.35% 0.0608 -0.188)
OKLCHoklch(51.35% 0.198 287.9)
XYZxyz(19.1701, 12.0224, 60.3298)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6748CF #B0CF48
analogous
#486CCF #6748CF #AB48CF
triadic
#6748CF #CF6748 #48CF67
tetradic
#6748CF #CF486C #B0CF48 #48CFAB
square
#6748CF #CF486C #B0CF48 #48CFAB
split-complementary
#6748CF #CFAB48 #6CCF48
monochromatic
#36217C #4A2DAD #6748CF #8F78DC #B8A9E8

Accessibility & contrast

On white

6.17
#6748CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#6748CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6748CF
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6748CF#FFFFFF#000000##FFFFFF
##6748CF1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#426985
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6748cf;
/* rgb */ color: rgb(103, 72, 207);
/* oklch */ color: oklch(51.3% 0.198 287.9);
Tailwind
colors: {
  custom: {
    50: '#9b7ddf',
    500: '#6748cf',
    950: '#000000',
  },
}
SCSS
$custom: #6748cf;
$custom-light: #9b7ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#6748cf",
  "rgb": {
    "r": 103,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 253.778,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51349,
    "c": 0.19758,
    "h": 287.9
  },
  "luminance": 0.12023
}

Semantic roles & 50–950 ramp

primary
#6748CF
secondary
#C9D69D
accent
#E246BE
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6748CF

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

Preview Lab → · Contrast checker → · Palette generator →

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