#6738C7#6738C7

#6738C7 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.5% C 0.207 H 291.8°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#6738C7
RGBrgb(103, 56, 199)
HSLhsl(260, 56%, 50%)
HSVhsv(260, 72%, 78%)
CMYKcmyk(48.2%, 71.9%, 0%, 22%)
CIE-LABlab(37.54, 52.64, -66.97)
CIE-LCHlch(37.54, 85.18, 308.17°)
OKLaboklab(48.5% 0.077 -0.1921)
OKLCHoklch(48.5% 0.207 291.8)
XYZxyz(17.3136, 9.8348, 55.0078)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6738C7 #98C738
analogous
#3851C7 #6738C7 #AE38C7
triadic
#6738C7 #C76738 #38C767
tetradic
#6738C7 #C73851 #98C738 #38C7AE
square
#6738C7 #C73851 #98C738 #38C7AE
split-complementary
#6738C7 #C7AE38 #51C738
monochromatic
#361D67 #4E2B97 #6738C7 #8B68D4 #B098E2

Accessibility & contrast

On white

7.08
#6738C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#6738C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6738C7
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6738C7#FFFFFF#000000##FFFFFF
##6738C71.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACB
Deuteranopia (green-blind)
#0055C4
Tritanopia (blue-blind)
#485D7C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6738c7;
/* rgb */ color: rgb(103, 56, 199);
/* oklch */ color: oklch(48.5% 0.207 291.8);
Tailwind
colors: {
  custom: {
    50: '#9b73d9',
    500: '#6738c7',
    950: '#000000',
  },
}
SCSS
$custom: #6738c7;
$custom-light: #9b73d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6738c7",
  "rgb": {
    "r": 103,
    "g": 56,
    "b": 199
  },
  "hsl": {
    "h": 259.72,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.48495,
    "c": 0.20695,
    "h": 291.8
  },
  "luminance": 0.09835
}

Semantic roles & 50–950 ramp

primary
#6738C7
secondary
#B8CD8D
accent
#DF48AE
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6738C7

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

Preview Lab → · Contrast checker → · Palette generator →

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