#6748CB#6748CB

#6748CB is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.0% C 0.193 H 288.5°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#6748CB
RGBrgb(103, 72, 203)
HSLhsl(254, 56%, 54%)
HSVhsv(254, 65%, 80%)
CMYKcmyk(49.3%, 64.5%, 0%, 20.4%)
CIE-LABlab(40.94, 45.29, -63.75)
CIE-LCHlch(40.94, 78.20, 305.39°)
OKLaboklab(51.03% 0.0612 -0.1827)
OKLCHoklch(51.03% 0.193 288.5)
XYZxyz(18.6873, 11.8293, 57.7870)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6748CB #ACCB48
analogous
#486BCB #6748CB #A848CB
triadic
#6748CB #CB6748 #48CB67
tetradic
#6748CB #CB486B #ACCB48 #48CBA8
square
#6748CB #CB486B #ACCB48 #48CBA8
split-complementary
#6748CB #CBA848 #6BCB48
monochromatic
#362277 #4C2FA6 #6748CB #8F78D9 #B6A7E6

Accessibility & contrast

On white

6.24
#6748CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#6748CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6748CB
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6748CB#FFFFFF#000000##FFFFFF
##6748CB1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#446883
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6748cb;
/* rgb */ color: rgb(103, 72, 203);
/* oklch */ color: oklch(51.0% 0.193 288.5);
Tailwind
colors: {
  custom: {
    50: '#9a7ddc',
    500: '#6748cb',
    950: '#000000',
  },
}
SCSS
$custom: #6748cb;
$custom-light: #9a7ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#6748cb",
  "rgb": {
    "r": 103,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 254.198,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5103,
    "c": 0.19267,
    "h": 288.5
  },
  "luminance": 0.1183
}

Semantic roles & 50–950 ramp

primary
#6748CB
secondary
#C6D39B
accent
#DF49BB
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6748CB

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

Preview Lab → · Contrast checker → · Palette generator →

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