#6751BE#6751BE

#6751BE is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.5% C 0.164 H 288.6°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#6751BE
RGBrgb(103, 81, 190)
HSLhsl(252, 46%, 53%)
HSVhsv(252, 57%, 75%)
CMYKcmyk(45.8%, 57.4%, 0%, 25.5%)
CIE-LABlab(41.98, 36.31, -54.52)
CIE-LCHlch(41.98, 65.50, 303.66°)
OKLaboklab(51.49% 0.0522 -0.1555)
OKLCHoklch(51.49% 0.164 288.6)
XYZxyz(17.8276, 12.4854, 50.1758)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6751BE #A8BE51
analogous
#5171BE #6751BE #9D51BE
triadic
#6751BE #BE6751 #51BE67
tetradic
#6751BE #BE5171 #A8BE51 #51BE9D
square
#6751BE #BE5171 #A8BE51 #51BE9D
split-complementary
#6751BE #BE9D51 #71BE51
monochromatic
#36286C #4C3999 #6751BE #8E7ECF #B5AADF

Accessibility & contrast

On white

6.00
#6751BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#6751BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6751BE
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6751BE#FFFFFF#000000##FFFFFF
##6751BE1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0665C2
Deuteranopia (green-blind)
#0B60BC
Tritanopia (blue-blind)
#4C697F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6751be;
/* rgb */ color: rgb(103, 81, 190);
/* oklch */ color: oklch(51.5% 0.164 288.6);
Tailwind
colors: {
  custom: {
    50: '#9882d2',
    500: '#6751be',
    950: '#000000',
  },
}
SCSS
$custom: #6751be;
$custom-light: #9882d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6751be",
  "rgb": {
    "r": 103,
    "g": 81,
    "b": 190
  },
  "hsl": {
    "h": 252.11,
    "s": 45.607,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5149,
    "c": 0.16406,
    "h": 288.6
  },
  "luminance": 0.12486
}

Semantic roles & 50–950 ramp

primary
#6751BE
secondary
#C3CD9E
accent
#D553BB
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #6751BE

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

Preview Lab → · Contrast checker → · Palette generator →

#6751BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva