#6748E8#6748E8

#6748E8 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.4% C 0.228 H 284.5°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#6748E8
RGBrgb(103, 72, 232)
HSLhsl(252, 78%, 60%)
HSVhsv(252, 69%, 91%)
CMYKcmyk(55.6%, 69%, 0%, 9%)
CIE-LABlab(43.28, 53.68, -76.54)
CIE-LCHlch(43.28, 93.48, 305.04°)
OKLaboklab(53.43% 0.0571 -0.2202)
OKLCHoklch(53.43% 0.228 284.5)
XYZxyz(22.4719, 13.3432, 77.7196)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6748E8 #C9E848
analogous
#4879E8 #6748E8 #B748E8
triadic
#6748E8 #E86748 #48E867
tetradic
#6748E8 #E84879 #C9E848 #48E8B7
square
#6748E8 #E84879 #C9E848 #48E8B7
split-complementary
#6748E8 #E8B748 #79E848
monochromatic
#3014A1 #401BD8 #6748E8 #947EEF #C1B5F6

Accessibility & contrast

On white

5.72
#6748E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#6748E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6748E8
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6748E8#FFFFFF#000000##FFFFFF
##6748E81.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BED
Deuteranopia (green-blind)
#0061E5
Tritanopia (blue-blind)
#287293
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6748e8;
/* rgb */ color: rgb(103, 72, 232);
/* oklch */ color: oklch(53.4% 0.228 284.5);
Tailwind
colors: {
  custom: {
    50: '#9f7ef1',
    500: '#6748e8',
    950: '#000000',
  },
}
SCSS
$custom: #6748e8;
$custom-light: #9f7ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#6748e8",
  "rgb": {
    "r": 103,
    "g": 72,
    "b": 232
  },
  "hsl": {
    "h": 251.625,
    "s": 77.67,
    "l": 59.608
  },
  "oklch": {
    "l": 0.5343,
    "c": 0.22751,
    "h": 284.5
  },
  "luminance": 0.13344
}

Semantic roles & 50–950 ramp

primary
#6748E8
secondary
#D9E5A7
accent
#F434CF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6748E8

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

Preview Lab → · Contrast checker → · Palette generator →

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