#665693#665693

#665693 is a mid, moderate violet. Relative luminance 0.116; OKLCH L 49.6% C 0.096 H 294.7°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#665693
RGBrgb(102, 86, 147)
HSLhsl(256, 26%, 46%)
HSVhsv(256, 41%, 58%)
CMYKcmyk(30.6%, 41.5%, 0%, 42.4%)
CIE-LABlab(40.55, 20.76, -31.31)
CIE-LCHlch(40.55, 37.57, 303.54°)
OKLaboklab(49.58% 0.0403 -0.0876)
OKLCHoklch(49.58% 0.096 294.7)
XYZxyz(14.0724, 11.5867, 29.0932)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665693 #839356
analogous
#566493 #665693 #845693
triadic
#665693 #936656 #569366
tetradic
#665693 #935664 #839356 #569384
square
#665693 #935664 #839356 #569384
split-complementary
#665693 #938456 #649356
monochromatic
#302946 #4B3F6C #665693 #8677AF #A89DC6

Accessibility & contrast

On white

6.33
#665693 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#665693 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665693
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665693#FFFFFF#000000##FFFFFF
##6656931.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446095
Deuteranopia (green-blind)
#475F91
Tritanopia (blue-blind)
#5C616D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #665693;
/* rgb */ color: rgb(102, 86, 147);
/* oklch */ color: oklch(49.6% 0.096 294.7);
Tailwind
colors: {
  custom: {
    50: '#9385b3',
    500: '#665693',
    950: '#000000',
  },
}
SCSS
$custom: #665693;
$custom-light: #9385b3;
$custom-dark: #000000;
JSON
{
  "hex": "#665693",
  "rgb": {
    "r": 102,
    "g": 86,
    "b": 147
  },
  "hsl": {
    "h": 255.738,
    "s": 26.18,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49576,
    "c": 0.09642,
    "h": 294.7
  },
  "luminance": 0.11587
}

Semantic roles & 50–950 ramp

primary
#665693
secondary
#AAB391
accent
#C365AA
background
#F9F8FB
surface
#F1EFF6
border
#CBCAD0
text
#0D0B11
muted
#7E7C80

Preview Lab

Preview with #665693

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

Preview Lab → · Contrast checker → · Palette generator →

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