#665698#665698

#665698 is a mid, moderate violet. Relative luminance 0.117; OKLCH L 49.9% C 0.104 H 293.4°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#665698
RGBrgb(102, 86, 152)
HSLhsl(255, 28%, 47%)
HSVhsv(255, 43%, 60%)
CMYKcmyk(32.9%, 43.4%, 0%, 40.4%)
CIE-LABlab(40.81, 22.12, -33.91)
CIE-LCHlch(40.81, 40.49, 303.12°)
OKLaboklab(49.86% 0.0412 -0.0951)
OKLCHoklch(49.86% 0.104 293.4)
XYZxyz(14.4733, 11.7471, 31.2046)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665698 #889856
analogous
#566798 #665698 #875698
triadic
#665698 #986656 #569866
tetradic
#665698 #985667 #889856 #569887
square
#665698 #985667 #889856 #569887
split-complementary
#665698 #988756 #679856
monochromatic
#322A4A #4C4071 #665698 #8778B3 #AA9FC9

Accessibility & contrast

On white

6.27
#665698 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#665698 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665698
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665698#FFFFFF#000000##FFFFFF
##6656981.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42619A
Deuteranopia (green-blind)
#445F96
Tritanopia (blue-blind)
#5B626F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #665698;
/* rgb */ color: rgb(102, 86, 152);
/* oklch */ color: oklch(49.9% 0.104 293.4);
Tailwind
colors: {
  custom: {
    50: '#9486b6',
    500: '#665698',
    950: '#000000',
  },
}
SCSS
$custom: #665698;
$custom-light: #9486b6;
$custom-dark: #000000;
JSON
{
  "hex": "#665698",
  "rgb": {
    "r": 102,
    "g": 86,
    "b": 152
  },
  "hsl": {
    "h": 254.545,
    "s": 27.731,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49857,
    "c": 0.10369,
    "h": 293.4
  },
  "luminance": 0.11747
}

Semantic roles & 50–950 ramp

primary
#665698
secondary
#AEB693
accent
#C464AD
background
#F9F8FB
surface
#F1EFF6
border
#CBCAD0
text
#0D0B11
muted
#7E7C80

Preview Lab

Preview with #665698

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

Preview Lab → · Contrast checker → · Palette generator →

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