#665B97#665B97

#665B97 is a mid, moderate violet. Relative luminance 0.125; OKLCH L 50.8% C 0.094 H 291.1°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#665B97
RGBrgb(102, 91, 151)
HSLhsl(251, 25%, 47%)
HSVhsv(251, 40%, 59%)
CMYKcmyk(32.5%, 39.7%, 0%, 40.8%)
CIE-LABlab(42.06, 18.75, -31.34)
CIE-LCHlch(42.06, 36.52, 300.90°)
OKLaboklab(50.79% 0.0338 -0.0877)
OKLCHoklch(50.79% 0.094 291.1)
XYZxyz(14.8051, 12.5410, 30.9128)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665B97 #8C975B
analogous
#5B6E97 #665B97 #845B97
triadic
#665B97 #97665B #5B9766
tetradic
#665B97 #975B6E #8C975B #5B9784
square
#665B97 #975B6E #8C975B #5B9784
split-complementary
#665B97 #97845B #6E975B
monochromatic
#322D4B #4C4471 #665B97 #877EB1 #ABA4C8

Accessibility & contrast

On white

5.99
#665B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#665B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665B97
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665B97#FFFFFF#000000##FFFFFF
##665B971.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496499
Deuteranopia (green-blind)
#4A6295
Tritanopia (blue-blind)
#5B6672
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #665b97;
/* rgb */ color: rgb(102, 91, 151);
/* oklch */ color: oklch(50.8% 0.094 291.1);
Tailwind
colors: {
  custom: {
    50: '#9389b6',
    500: '#665b97',
    950: '#000000',
  },
}
SCSS
$custom: #665b97;
$custom-light: #9389b6;
$custom-dark: #000000;
JSON
{
  "hex": "#665b97",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 151
  },
  "hsl": {
    "h": 251,
    "s": 24.793,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50791,
    "c": 0.09397,
    "h": 291.1
  },
  "luminance": 0.12541
}

Semantic roles & 50–950 ramp

primary
#665B97
secondary
#B1B698
accent
#C167B1
background
#F9F8FB
surface
#F1F0F6
border
#CBCBD0
text
#0D0B11
muted
#7E7C80

Preview Lab

Preview with #665B97

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

Preview Lab → · Contrast checker → · Palette generator →

#665B97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva