#665AA2#665AA2

#665AA2 is a mid, moderate violet. Relative luminance 0.127; OKLCH L 51.2% C 0.112 H 289.5°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#665AA2
RGBrgb(102, 90, 162)
HSLhsl(250, 29%, 49%)
HSVhsv(250, 44%, 64%)
CMYKcmyk(37%, 44.4%, 0%, 36.5%)
CIE-LABlab(42.38, 22.46, -37.40)
CIE-LCHlch(42.38, 43.63, 300.98°)
OKLaboklab(51.22% 0.0373 -0.1053)
OKLCHoklch(51.22% 0.112 289.5)
XYZxyz(15.6555, 12.7453, 35.8107)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665AA2 #96A25A
analogous
#5A72A2 #665AA2 #8A5AA2
triadic
#665AA2 #A2665A #5AA266
tetradic
#665AA2 #A25A72 #96A25A #5AA28A
square
#665AA2 #A25A72 #96A25A #5AA28A
split-complementary
#665AA2 #A28A5A #72A25A
monochromatic
#342E53 #4D447B #665AA2 #8A80B9 #AEA8CF

Accessibility & contrast

On white

5.92
#665AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#665AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665AA2
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665AA2#FFFFFF#000000##FFFFFF
##665AA21.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4265A5
Deuteranopia (green-blind)
#4262A0
Tritanopia (blue-blind)
#576876
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #665aa2;
/* rgb */ color: rgb(102, 90, 162);
/* oklch */ color: oklch(51.2% 0.112 289.5);
Tailwind
colors: {
  custom: {
    50: '#9488be',
    500: '#665aa2',
    950: '#000000',
  },
}
SCSS
$custom: #665aa2;
$custom-light: #9488be;
$custom-dark: #000000;
JSON
{
  "hex": "#665aa2",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 162
  },
  "hsl": {
    "h": 250,
    "s": 28.571,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51217,
    "c": 0.11173,
    "h": 289.5
  },
  "luminance": 0.12746
}

Semantic roles & 50–950 ramp

primary
#665AA2
secondary
#B7BD9B
accent
#C563B5
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0D0B12
muted
#7E7C81

Preview Lab

Preview with #665AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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