#6750B2#6750B2

#6750B2 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.5% C 0.150 H 290.9°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#6750B2
RGBrgb(103, 80, 178)
HSLhsl(254, 39%, 51%)
HSVhsv(254, 55%, 70%)
CMYKcmyk(42.1%, 55.1%, 0%, 30.2%)
CIE-LABlab(40.95, 33.42, -49.14)
CIE-LCHlch(40.95, 59.42, 304.22°)
OKLaboklab(50.48% 0.0533 -0.1397)
OKLCHoklch(50.48% 0.15 290.9)
XYZxyz(16.4959, 11.8347, 43.5260)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6750B2 #9BB250
analogous
#506AB2 #6750B2 #9850B2
triadic
#6750B2 #B26750 #50B267
tetradic
#6750B2 #B2506A #9BB250 #50B298
square
#6750B2 #B2506A #9BB250 #50B298
split-complementary
#6750B2 #B29850 #6AB250
monochromatic
#36295E #4E3C89 #6750B2 #8C7AC5 #B1A5D7

Accessibility & contrast

On white

6.24
#6750B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#6750B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6750B2
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6750B2#FFFFFF#000000##FFFFFF
##6750B21.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F62B5
Deuteranopia (green-blind)
#245EB0
Tritanopia (blue-blind)
#526579
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6750b2;
/* rgb */ color: rgb(103, 80, 178);
/* oklch */ color: oklch(50.5% 0.150 290.9);
Tailwind
colors: {
  custom: {
    50: '#9782ca',
    500: '#6750b2',
    950: '#000000',
  },
}
SCSS
$custom: #6750b2;
$custom-light: #9782ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6750b2",
  "rgb": {
    "r": 103,
    "g": 80,
    "b": 178
  },
  "hsl": {
    "h": 254.082,
    "s": 38.889,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50478,
    "c": 0.14951,
    "h": 290.9
  },
  "luminance": 0.11835
}

Semantic roles & 50–950 ramp

primary
#6750B2
secondary
#BAC599
accent
#CF59B3
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6750B2

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

Preview Lab → · Contrast checker → · Palette generator →

#6750B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva