#6637B7#6637B7

#6637B7 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.9% C 0.190 H 294.8°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#6637B7
RGBrgb(102, 55, 183)
HSLhsl(262, 54%, 47%)
HSVhsv(262, 70%, 72%)
CMYKcmyk(44.3%, 69.9%, 0%, 28.2%)
CIE-LABlab(35.94, 48.66, -60.21)
CIE-LCHlch(35.94, 77.41, 308.94°)
OKLaboklab(46.92% 0.0796 -0.1723)
OKLCHoklch(46.92% 0.19 294.8)
XYZxyz(15.3906, 8.9757, 45.7121)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6637B7 #88B737
analogous
#3748B7 #6637B7 #A637B7
triadic
#6637B7 #B76637 #37B766
tetradic
#6637B7 #B73748 #88B737 #37B7A6
square
#6637B7 #B73748 #88B737 #37B7A6
split-complementary
#6637B7 #B7A637 #48B737
monochromatic
#321B59 #4C2988 #6637B7 #875DCE #AA8CDC

Accessibility & contrast

On white

7.51
#6637B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#6637B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6637B7
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6637B7#FFFFFF#000000##FFFFFF
##6637B71.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6637b7;
/* rgb */ color: rgb(102, 55, 183);
/* oklch */ color: oklch(46.9% 0.190 294.8);
Tailwind
colors: {
  custom: {
    50: '#9972ce',
    500: '#6637b7',
    950: '#000000',
  },
}
SCSS
$custom: #6637b7;
$custom-light: #9972ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6637b7",
  "rgb": {
    "r": 102,
    "g": 55,
    "b": 183
  },
  "hsl": {
    "h": 262.031,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4692,
    "c": 0.18978,
    "h": 294.8
  },
  "luminance": 0.08976
}

Semantic roles & 50–950 ramp

primary
#6637B7
secondary
#AEC783
accent
#DD4BA7
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6637B7

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

Preview Lab → · Contrast checker → · Palette generator →

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