#6656AF#6656AF

#6656AF is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.3% C 0.136 H 288.9°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#6656AF
RGBrgb(102, 86, 175)
HSLhsl(251, 36%, 51%)
HSVhsv(251, 51%, 69%)
CMYKcmyk(41.7%, 50.9%, 0%, 31.4%)
CIE-LABlab(42.12, 28.67, -45.51)
CIE-LCHlch(42.12, 53.79, 302.21°)
OKLaboklab(51.26% 0.0443 -0.1291)
OKLCHoklch(51.26% 0.136 288.9)
XYZxyz(16.5430, 12.5750, 42.1047)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6656AF #9FAF56
analogous
#5672AF #6656AF #9256AF
triadic
#6656AF #AF6656 #56AF66
tetradic
#6656AF #AF5672 #9FAF56 #56AF92
square
#6656AF #AF5672 #9FAF56 #56AF92
split-complementary
#6656AF #AF9256 #72AF56
monochromatic
#352D5E #4D4088 #6656AF #8C80C3 #B1A9D6

Accessibility & contrast

On white

5.97
#6656AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#6656AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6656AF
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6656AF#FFFFFF#000000##FFFFFF
##6656AF1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3165B2
Deuteranopia (green-blind)
#3161AD
Tritanopia (blue-blind)
#51687A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6656af;
/* rgb */ color: rgb(102, 86, 175);
/* oklch */ color: oklch(51.3% 0.136 288.9);
Tailwind
colors: {
  custom: {
    50: '#9686c7',
    500: '#6656af',
    950: '#000000',
  },
}
SCSS
$custom: #6656af;
$custom-light: #9686c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6656af",
  "rgb": {
    "r": 102,
    "g": 86,
    "b": 175
  },
  "hsl": {
    "h": 250.787,
    "s": 35.743,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51262,
    "c": 0.13644,
    "h": 288.9
  },
  "luminance": 0.12576
}

Semantic roles & 50–950 ramp

primary
#6656AF
secondary
#BDC49D
accent
#CC5CB8
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #6656AF

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

Preview Lab → · Contrast checker → · Palette generator →

#6656AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva