#6657AE#6657AE

#6657AE is a mid, vivid violet. Relative luminance 0.127; OKLCH L 51.4% C 0.134 H 288.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#6657AE
RGBrgb(102, 87, 174)
HSLhsl(250, 35%, 51%)
HSVhsv(250, 50%, 68%)
CMYKcmyk(41.4%, 50%, 0%, 31.8%)
CIE-LABlab(42.30, 27.76, -44.62)
CIE-LCHlch(42.30, 52.55, 301.89°)
OKLaboklab(51.38% 0.0429 -0.1264)
OKLCHoklch(51.38% 0.134 288.7)
XYZxyz(16.5255, 12.6966, 41.6162)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6657AE #9FAE57
analogous
#5773AE #6657AE #9157AE
triadic
#6657AE #AE6657 #57AE66
tetradic
#6657AE #AE5773 #9FAE57 #57AE91
square
#6657AE #AE5773 #9FAE57 #57AE91
split-complementary
#6657AE #AE9157 #73AE57
monochromatic
#352D5E #4D4187 #6657AE #8C80C2 #B1AAD6

Accessibility & contrast

On white

5.93
#6657AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6657AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6657AE
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6657AE#FFFFFF#000000##FFFFFF
##6657AE1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3466B1
Deuteranopia (green-blind)
#3462AC
Tritanopia (blue-blind)
#52697A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6657ae;
/* rgb */ color: rgb(102, 87, 174);
/* oklch */ color: oklch(51.4% 0.134 288.7);
Tailwind
colors: {
  custom: {
    50: '#9686c7',
    500: '#6657ae',
    950: '#000000',
  },
}
SCSS
$custom: #6657ae;
$custom-light: #9686c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6657ae",
  "rgb": {
    "r": 102,
    "g": 87,
    "b": 174
  },
  "hsl": {
    "h": 250.345,
    "s": 34.94,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51382,
    "c": 0.13352,
    "h": 288.7
  },
  "luminance": 0.12697
}

Semantic roles & 50–950 ramp

primary
#6657AE
secondary
#BDC49D
accent
#CB5DB8
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #6657AE

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

Preview Lab → · Contrast checker → · Palette generator →

#6657AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva