#665398#665398

#665398 is a mid, moderate violet. Relative luminance 0.113; OKLCH L 49.3% C 0.109 H 294.8°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#665398
RGBrgb(102, 83, 152)
HSLhsl(257, 29%, 46%)
HSVhsv(257, 45%, 60%)
CMYKcmyk(32.9%, 45.4%, 0%, 40.4%)
CIE-LABlab(40.05, 23.98, -35.12)
CIE-LCHlch(40.05, 42.53, 304.32°)
OKLaboklab(49.28% 0.0455 -0.0987)
OKLCHoklch(49.28% 0.109 294.8)
XYZxyz(14.2388, 11.2781, 31.1264)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665398 #859853
analogous
#536298 #665398 #885398
triadic
#665398 #986653 #539866
tetradic
#665398 #985362 #859853 #539888
square
#665398 #985362 #859853 #539888
split-complementary
#665398 #988853 #629853
monochromatic
#312849 #4B3D70 #665398 #8675B3 #A99CC9

Accessibility & contrast

On white

6.45
#665398 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#665398 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665398
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665398#FFFFFF#000000##FFFFFF
##6653981.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5F9B
Deuteranopia (green-blind)
#405D96
Tritanopia (blue-blind)
#5B606E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #665398;
/* rgb */ color: rgb(102, 83, 152);
/* oklch */ color: oklch(49.3% 0.109 294.8);
Tailwind
colors: {
  custom: {
    50: '#9483b6',
    500: '#665398',
    950: '#000000',
  },
}
SCSS
$custom: #665398;
$custom-light: #9483b6;
$custom-dark: #000000;
JSON
{
  "hex": "#665398",
  "rgb": {
    "r": 102,
    "g": 83,
    "b": 152
  },
  "hsl": {
    "h": 256.522,
    "s": 29.362,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49278,
    "c": 0.10867,
    "h": 294.8
  },
  "luminance": 0.11278
}

Semantic roles & 50–950 ramp

primary
#665398
secondary
#ACB691
accent
#C662AA
background
#F9F8FB
surface
#F2EFF6
border
#CCCAD0
text
#0D0A11
muted
#7E7C80

Preview Lab

Preview with #665398

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

Preview Lab → · Contrast checker → · Palette generator →

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