#6748EA#6748EA

#6748EA is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.6% C 0.230 H 284.3°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#6748EA
RGBrgb(103, 72, 234)
HSLhsl(251, 79%, 60%)
HSVhsv(251, 69%, 92%)
CMYKcmyk(56%, 69.2%, 0%, 8.2%)
CIE-LABlab(43.44, 54.25, -77.39)
CIE-LCHlch(43.44, 94.52, 305.03°)
OKLaboklab(53.6% 0.0567 -0.2227)
OKLCHoklch(53.6% 0.23 284.3)
XYZxyz(22.7576, 13.4574, 79.2243)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6748EA #CBEA48
analogous
#487AEA #6748EA #B848EA
triadic
#6748EA #EA6748 #48EA67
tetradic
#6748EA #EA487A #CBEA48 #48EAB8
square
#6748EA #EA487A #CBEA48 #48EAB8
split-complementary
#6748EA #EAB848 #7AEA48
monochromatic
#2F13A5 #3E19DC #6748EA #957FF0 #C2B6F7

Accessibility & contrast

On white

5.69
#6748EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#6748EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6748EA
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6748EA#FFFFFF#000000##FFFFFF
##6748EA1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEF
Deuteranopia (green-blind)
#0061E7
Tritanopia (blue-blind)
#257394
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6748ea;
/* rgb */ color: rgb(103, 72, 234);
/* oklch */ color: oklch(53.6% 0.230 284.3);
Tailwind
colors: {
  custom: {
    50: '#9f7ef2',
    500: '#6748ea',
    950: '#000000',
  },
}
SCSS
$custom: #6748ea;
$custom-light: #9f7ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#6748ea",
  "rgb": {
    "r": 103,
    "g": 72,
    "b": 234
  },
  "hsl": {
    "h": 251.481,
    "s": 79.412,
    "l": 60
  },
  "oklch": {
    "l": 0.53602,
    "c": 0.22985,
    "h": 284.3
  },
  "luminance": 0.13459
}

Semantic roles & 50–950 ramp

primary
#6748EA
secondary
#DAE6A8
accent
#F632D0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6748EA

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

Preview Lab → · Contrast checker → · Palette generator →

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