#664697#664697

#664697 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 46.8% C 0.129 H 299.7°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#664697
RGBrgb(102, 70, 151)
HSLhsl(264, 37%, 43%)
HSVhsv(264, 54%, 59%)
CMYKcmyk(32.5%, 53.6%, 0%, 40.8%)
CIE-LABlab(36.82, 31.62, -39.65)
CIE-LCHlch(36.82, 50.72, 308.58°)
OKLaboklab(46.85% 0.0637 -0.1119)
OKLCHoklch(46.85% 0.129 299.7)
XYZxyz(13.2542, 9.4394, 30.3958)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664697 #779746
analogous
#464E97 #664697 #8E4697
triadic
#664697 #976646 #469766
tetradic
#664697 #97464E #779746 #46978E
square
#664697 #97464E #779746 #46978E
split-complementary
#664697 #978E46 #4E9746
monochromatic
#2E1F43 #4A336D #664697 #8463B7 #A58DCA

Accessibility & contrast

On white

7.27
#664697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#664697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #664697
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664697#FFFFFF#000000##FFFFFF
##6646971.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28569A
Deuteranopia (green-blind)
#315695
Tritanopia (blue-blind)
#5C5667
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #664697;
/* rgb */ color: rgb(102, 70, 151);
/* oklch */ color: oklch(46.8% 0.129 299.7);
Tailwind
colors: {
  custom: {
    50: '#947ab6',
    500: '#664697',
    950: '#000000',
  },
}
SCSS
$custom: #664697;
$custom-light: #947ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#664697",
  "rgb": {
    "r": 102,
    "g": 70,
    "b": 151
  },
  "hsl": {
    "h": 263.704,
    "s": 36.652,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46846,
    "c": 0.12877,
    "h": 299.7
  },
  "luminance": 0.09439
}

Semantic roles & 50–950 ramp

primary
#664697
secondary
#A2B683
accent
#CD5BA0
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0911
muted
#7E7B80

Preview Lab

Preview with #664697

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

Preview Lab → · Contrast checker → · Palette generator →

#664697 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva