#6748EB#6748EB

#6748EB is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.7% C 0.231 H 284.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#6748EB
RGBrgb(103, 72, 235)
HSLhsl(251, 80%, 60%)
HSVhsv(251, 69%, 92%)
CMYKcmyk(56.2%, 69.4%, 0%, 7.8%)
CIE-LABlab(43.53, 54.54, -77.82)
CIE-LCHlch(43.53, 95.03, 305.02°)
OKLaboklab(53.69% 0.0566 -0.224)
OKLCHoklch(53.69% 0.231 284.2)
XYZxyz(22.9017, 13.5151, 79.9830)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6748EB #CCEB48
analogous
#487AEB #6748EB #B848EB
triadic
#6748EB #EB6748 #48EB67
tetradic
#6748EB #EB487A #CCEB48 #48EBB8
square
#6748EB #EB487A #CCEB48 #48EBB8
split-complementary
#6748EB #EBB848 #7AEB48
monochromatic
#2E12A6 #3E18DE #6748EB #957FF1 #C3B6F7

Accessibility & contrast

On white

5.67
#6748EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#6748EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6748EB
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6748EB#FFFFFF#000000##FFFFFF
##6748EB1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF0
Deuteranopia (green-blind)
#0062E8
Tritanopia (blue-blind)
#237394
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6748eb;
/* rgb */ color: rgb(103, 72, 235);
/* oklch */ color: oklch(53.7% 0.231 284.2);
Tailwind
colors: {
  custom: {
    50: '#9f7ef3',
    500: '#6748eb',
    950: '#000000',
  },
}
SCSS
$custom: #6748eb;
$custom-light: #9f7ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#6748eb",
  "rgb": {
    "r": 103,
    "g": 72,
    "b": 235
  },
  "hsl": {
    "h": 251.411,
    "s": 80.296,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53689,
    "c": 0.23102,
    "h": 284.2
  },
  "luminance": 0.13516
}

Semantic roles & 50–950 ramp

primary
#6748EB
secondary
#DBE7A8
accent
#DD09B4
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6748EB

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

Preview Lab → · Contrast checker → · Palette generator →

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