#665C97#665C97

#665C97 is a mid, moderate violet. Relative luminance 0.127; OKLCH L 51.0% C 0.092 H 290.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#665C97
RGBrgb(102, 92, 151)
HSLhsl(250, 24%, 48%)
HSVhsv(250, 39%, 59%)
CMYKcmyk(32.5%, 39.1%, 0%, 40.8%)
CIE-LABlab(42.33, 18.13, -30.92)
CIE-LCHlch(42.33, 35.85, 300.39°)
OKLaboklab(50.99% 0.0324 -0.0865)
OKLCHoklch(50.99% 0.092 290.5)
XYZxyz(14.8911, 12.7131, 30.9415)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665C97 #8D975C
analogous
#5C7097 #665C97 #835C97
triadic
#665C97 #97665C #5C9766
tetradic
#665C97 #975C70 #8D975C #5C9783
square
#665C97 #975C70 #8D975C #5C9783
split-complementary
#665C97 #97835C #70975C
monochromatic
#332E4B #4C4571 #665C97 #887FB1 #ABA5C8

Accessibility & contrast

On white

5.93
#665C97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#665C97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665C97
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665C97#FFFFFF#000000##FFFFFF
##665C971.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6599
Deuteranopia (green-blind)
#4B6396
Tritanopia (blue-blind)
#5A6772
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #665c97;
/* rgb */ color: rgb(102, 92, 151);
/* oklch */ color: oklch(51.0% 0.092 290.5);
Tailwind
colors: {
  custom: {
    50: '#938ab6',
    500: '#665c97',
    950: '#000000',
  },
}
SCSS
$custom: #665c97;
$custom-light: #938ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#665c97",
  "rgb": {
    "r": 102,
    "g": 92,
    "b": 151
  },
  "hsl": {
    "h": 250.169,
    "s": 24.28,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50992,
    "c": 0.09233,
    "h": 290.5
  },
  "luminance": 0.12713
}

Semantic roles & 50–950 ramp

primary
#665C97
secondary
#B1B699
accent
#C167B2
background
#F9F8FB
surface
#F1F0F6
border
#CBCBD0
text
#0D0B11
muted
#7E7C80

Preview Lab

Preview with #665C97

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

Preview Lab → · Contrast checker → · Palette generator →

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