#6738B7#6738B7

#6738B7 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.2% C 0.189 H 295.1°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#6738B7
RGBrgb(103, 56, 183)
HSLhsl(262, 53%, 47%)
HSVhsv(262, 69%, 72%)
CMYKcmyk(43.7%, 69.4%, 0%, 28.2%)
CIE-LABlab(36.23, 48.33, -59.72)
CIE-LCHlch(36.23, 76.83, 308.98°)
OKLaboklab(47.16% 0.0801 -0.1708)
OKLCHoklch(47.16% 0.189 295.1)
XYZxyz(15.5526, 9.1304, 45.7335)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6738B7 #88B738
analogous
#3848B7 #6738B7 #A738B7
triadic
#6738B7 #B76738 #38B767
tetradic
#6738B7 #B73848 #88B738 #38B7A7
square
#6738B7 #B73848 #88B738 #38B7A7
split-complementary
#6738B7 #B7A738 #48B738
monochromatic
#321B59 #4D2A88 #6738B7 #885ECE #AA8DDC

Accessibility & contrast

On white

7.43
#6738B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6738B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6738B7
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6738B7#FFFFFF#000000##FFFFFF
##6738B71.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#0053B4
Tritanopia (blue-blind)
#515773
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6738b7;
/* rgb */ color: rgb(103, 56, 183);
/* oklch */ color: oklch(47.2% 0.189 295.1);
Tailwind
colors: {
  custom: {
    50: '#9972ce',
    500: '#6738b7',
    950: '#000000',
  },
}
SCSS
$custom: #6738b7;
$custom-light: #9972ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6738b7",
  "rgb": {
    "r": 103,
    "g": 56,
    "b": 183
  },
  "hsl": {
    "h": 262.205,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47157,
    "c": 0.18864,
    "h": 295.1
  },
  "luminance": 0.09131
}

Semantic roles & 50–950 ramp

primary
#6738B7
secondary
#AEC784
accent
#DD4BA7
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0814
muted
#7E7B82

Preview Lab

Preview with #6738B7

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

Preview Lab → · Contrast checker → · Palette generator →

#6738B7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva