#664BC7#664BC7

#664BC7 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.1% C 0.184 H 288.1°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#664BC7
RGBrgb(102, 75, 199)
HSLhsl(253, 53%, 54%)
HSVhsv(253, 62%, 78%)
CMYKcmyk(48.7%, 62.3%, 0%, 22%)
CIE-LABlab(41.18, 42.24, -61.04)
CIE-LCHlch(41.18, 74.24, 304.68°)
OKLaboklab(51.09% 0.0572 -0.1748)
OKLCHoklch(51.09% 0.184 288.1)
XYZxyz(18.3014, 11.9797, 55.3697)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664BC7 #ACC74B
analogous
#4B6EC7 #664BC7 #A44BC7
triadic
#664BC7 #C7664B #4BC766
tetradic
#664BC7 #C74B6E #ACC74B #4BC7A4
square
#664BC7 #C74B6E #ACC74B #4BC7A4
split-complementary
#664BC7 #C7A44B #6EC74B
monochromatic
#352474 #4B32A2 #664BC7 #8E7AD6 #B5A8E4

Accessibility & contrast

On white

6.18
#664BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#664BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664BC7
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664BC7#FFFFFF#000000##FFFFFF
##664BC71.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CB
Deuteranopia (green-blind)
#005EC4
Tritanopia (blue-blind)
#456882
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #664bc7;
/* rgb */ color: rgb(102, 75, 199);
/* oklch */ color: oklch(51.1% 0.184 288.1);
Tailwind
colors: {
  custom: {
    50: '#997fd9',
    500: '#664bc7',
    950: '#000000',
  },
}
SCSS
$custom: #664bc7;
$custom-light: #997fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#664bc7",
  "rgb": {
    "r": 102,
    "g": 75,
    "b": 199
  },
  "hsl": {
    "h": 253.065,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51087,
    "c": 0.18387,
    "h": 288.1
  },
  "luminance": 0.1198
}

Semantic roles & 50–950 ramp

primary
#664BC7
secondary
#C6D19C
accent
#DC4CBD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #664BC7

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

Preview Lab → · Contrast checker → · Palette generator →

#664BC7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva