#6748E0#6748E0

#6748E0 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.7% C 0.218 H 285.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#6748E0
RGBrgb(103, 72, 224)
HSLhsl(252, 71%, 58%)
HSVhsv(252, 68%, 88%)
CMYKcmyk(54%, 67.9%, 0%, 12.2%)
CIE-LABlab(42.61, 51.36, -73.09)
CIE-LCHlch(42.61, 89.33, 305.10°)
OKLaboklab(52.75% 0.0584 -0.2101)
OKLCHoklch(52.75% 0.218 285.5)
XYZxyz(21.3614, 12.8989, 71.8707)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6748E0 #C1E048
analogous
#4875E0 #6748E0 #B348E0
triadic
#6748E0 #E06748 #48E067
tetradic
#6748E0 #E04875 #C1E048 #48E0B3
square
#6748E0 #E04875 #C1E048 #48E0B3
split-complementary
#6748E0 #E0B348 #75E048
monochromatic
#321994 #4422C9 #6748E0 #927CE9 #BEB1F2

Accessibility & contrast

On white

5.87
#6748E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#6748E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6748E0
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6748E0#FFFFFF#000000##FFFFFF
##6748E01.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E5
Deuteranopia (green-blind)
#0060DD
Tritanopia (blue-blind)
#326F8E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6748e0;
/* rgb */ color: rgb(103, 72, 224);
/* oklch */ color: oklch(52.7% 0.218 285.5);
Tailwind
colors: {
  custom: {
    50: '#9d7deb',
    500: '#6748e0',
    950: '#000000',
  },
}
SCSS
$custom: #6748e0;
$custom-light: #9d7deb;
$custom-dark: #000000;
JSON
{
  "hex": "#6748e0",
  "rgb": {
    "r": 103,
    "g": 72,
    "b": 224
  },
  "hsl": {
    "h": 252.237,
    "s": 71.028,
    "l": 58.039
  },
  "oklch": {
    "l": 0.52749,
    "c": 0.21807,
    "h": 285.5
  },
  "luminance": 0.129
}

Semantic roles & 50–950 ramp

primary
#6748E0
secondary
#D4E0A4
accent
#EE3AC9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6748E0

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

Preview Lab → · Contrast checker → · Palette generator →

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