#6748BE#6748BE

#6748BE is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.0% C 0.176 H 290.7°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#6748BE
RGBrgb(103, 72, 190)
HSLhsl(256, 48%, 51%)
HSVhsv(256, 62%, 75%)
CMYKcmyk(45.8%, 62.1%, 0%, 25.5%)
CIE-LABlab(39.97, 41.56, -57.76)
CIE-LCHlch(39.97, 71.16, 305.74°)
OKLaboklab(50.02% 0.0624 -0.1651)
OKLCHoklch(50.02% 0.176 290.7)
XYZxyz(17.2025, 11.2354, 49.9675)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6748BE #9FBE48
analogous
#4864BE #6748BE #A248BE
triadic
#6748BE #BE6748 #48BE67
tetradic
#6748BE #BE4864 #9FBE48 #48BEA2
square
#6748BE #BE4864 #9FBE48 #48BEA2
split-complementary
#6748BE #BEA248 #64BE48
monochromatic
#362567 #4E3594 #6748BE #8D75CE #B2A2DE

Accessibility & contrast

On white

6.47
#6748BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#6748BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6748BE
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6748BE#FFFFFF#000000##FFFFFF
##6748BE1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#4D637C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6748be;
/* rgb */ color: rgb(103, 72, 190);
/* oklch */ color: oklch(50.0% 0.176 290.7);
Tailwind
colors: {
  custom: {
    50: '#997cd2',
    500: '#6748be',
    950: '#000000',
  },
}
SCSS
$custom: #6748be;
$custom-light: #997cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6748be",
  "rgb": {
    "r": 103,
    "g": 72,
    "b": 190
  },
  "hsl": {
    "h": 255.763,
    "s": 47.581,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50021,
    "c": 0.17646,
    "h": 290.7
  },
  "luminance": 0.11236
}

Semantic roles & 50–950 ramp

primary
#6748BE
secondary
#BDCB97
accent
#D751B4
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #6748BE

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

Preview Lab → · Contrast checker → · Palette generator →

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