#6748E1#6748E1

#6748E1 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 52.8% C 0.219 H 285.4°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#6748E1
RGBrgb(103, 72, 225)
HSLhsl(252, 72%, 58%)
HSVhsv(252, 68%, 88%)
CMYKcmyk(54.2%, 68%, 0%, 11.8%)
CIE-LABlab(42.69, 51.65, -73.52)
CIE-LCHlch(42.69, 89.85, 305.09°)
OKLaboklab(52.83% 0.0583 -0.2114)
OKLCHoklch(52.83% 0.219 285.4)
XYZxyz(21.4974, 12.9533, 72.5870)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6748E1 #C2E148
analogous
#4875E1 #6748E1 #B348E1
triadic
#6748E1 #E16748 #48E167
tetradic
#6748E1 #E14875 #C2E148 #48E1B3
square
#6748E1 #E14875 #C2E148 #48E1B3
split-complementary
#6748E1 #E1B348 #75E148
monochromatic
#321996 #4421CB #6748E1 #937DEA #BEB1F2

Accessibility & contrast

On white

5.85
#6748E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#6748E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6748E1
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6748E1#FFFFFF#000000##FFFFFF
##6748E11.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E6
Deuteranopia (green-blind)
#0060DE
Tritanopia (blue-blind)
#31708F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6748e1;
/* rgb */ color: rgb(103, 72, 225);
/* oklch */ color: oklch(52.8% 0.219 285.4);
Tailwind
colors: {
  custom: {
    50: '#9e7dec',
    500: '#6748e1',
    950: '#000000',
  },
}
SCSS
$custom: #6748e1;
$custom-light: #9e7dec;
$custom-dark: #000000;
JSON
{
  "hex": "#6748e1",
  "rgb": {
    "r": 103,
    "g": 72,
    "b": 225
  },
  "hsl": {
    "h": 252.157,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.52833,
    "c": 0.21926,
    "h": 285.4
  },
  "luminance": 0.12955
}

Semantic roles & 50–950 ramp

primary
#6748E1
secondary
#D5E1A4
accent
#EF39CA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6748E1

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

Preview Lab → · Contrast checker → · Palette generator →

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