#665BAD#665BAD

#665BAD is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.1% C 0.126 H 287.3°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#665BAD
RGBrgb(102, 91, 173)
HSLhsl(248, 33%, 52%)
HSVhsv(248, 47%, 68%)
CMYKcmyk(41%, 47.4%, 0%, 32.2%)
CIE-LABlab(43.25, 25.01, -42.53)
CIE-LCHlch(43.25, 49.34, 300.46°)
OKLaboklab(52.07% 0.0376 -0.1203)
OKLCHoklch(52.07% 0.126 287.3)
XYZxyz(16.7613, 13.3235, 41.2156)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665BAD #A2AD5B
analogous
#5B79AD #665BAD #8F5BAD
triadic
#665BAD #AD665B #5BAD66
tetradic
#665BAD #AD5B79 #A2AD5B #5BAD8F
square
#665BAD #AD5B79 #A2AD5B #5BAD8F
split-complementary
#665BAD #AD8F5B #79AD5B
monochromatic
#362F5E #4D4487 #665BAD #8C84C1 #B2ADD6

Accessibility & contrast

On white

5.73
#665BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#665BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665BAD
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665BAD#FFFFFF#000000##FFFFFF
##665BAD1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C68B0
Deuteranopia (green-blind)
#3B64AB
Tritanopia (blue-blind)
#526C7C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #665bad;
/* rgb */ color: rgb(102, 91, 173);
/* oklch */ color: oklch(52.1% 0.126 287.3);
Tailwind
colors: {
  custom: {
    50: '#9589c6',
    500: '#665bad',
    950: '#000000',
  },
}
SCSS
$custom: #665bad;
$custom-light: #9589c6;
$custom-dark: #000000;
JSON
{
  "hex": "#665bad",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 173
  },
  "hsl": {
    "h": 248.049,
    "s": 33.333,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52073,
    "c": 0.12602,
    "h": 287.3
  },
  "luminance": 0.13324
}

Semantic roles & 50–950 ramp

primary
#665BAD
secondary
#BFC4A0
accent
#C95EBB
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #665BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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