#665695#665695

#665695 is a mid, moderate violet. Relative luminance 0.117; OKLCH L 49.7% C 0.099 H 294.2°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#665695
RGBrgb(102, 86, 149)
HSLhsl(255, 27%, 46%)
HSVhsv(255, 42%, 58%)
CMYKcmyk(31.5%, 42.3%, 0%, 41.6%)
CIE-LABlab(40.65, 21.30, -32.36)
CIE-LCHlch(40.65, 38.74, 303.36°)
OKLaboklab(49.69% 0.0407 -0.0906)
OKLCHoklch(49.69% 0.099 294.2)
XYZxyz(14.2307, 11.6501, 29.9269)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665695 #859556
analogous
#566595 #665695 #855695
triadic
#665695 #956656 #569566
tetradic
#665695 #955665 #859556 #569585
square
#665695 #955665 #859556 #569585
split-complementary
#665695 #958556 #659556
monochromatic
#312947 #4B406E #665695 #8677B1 #A99EC7

Accessibility & contrast

On white

6.31
#665695 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#665695 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665695
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665695#FFFFFF#000000##FFFFFF
##6656951.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436097
Deuteranopia (green-blind)
#465F93
Tritanopia (blue-blind)
#5C616E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #665695;
/* rgb */ color: rgb(102, 86, 149);
/* oklch */ color: oklch(49.7% 0.099 294.2);
Tailwind
colors: {
  custom: {
    50: '#9385b4',
    500: '#665695',
    950: '#000000',
  },
}
SCSS
$custom: #665695;
$custom-light: #9385b4;
$custom-dark: #000000;
JSON
{
  "hex": "#665695",
  "rgb": {
    "r": 102,
    "g": 86,
    "b": 149
  },
  "hsl": {
    "h": 255.238,
    "s": 26.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49687,
    "c": 0.09933,
    "h": 294.2
  },
  "luminance": 0.1165
}

Semantic roles & 50–950 ramp

primary
#665695
secondary
#ACB592
accent
#C365AB
background
#F9F8FB
surface
#F1EFF6
border
#CBCAD0
text
#0D0B11
muted
#7E7C80

Preview Lab

Preview with #665695

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

Preview Lab → · Contrast checker → · Palette generator →

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