#666293#666293

#666293 is a mid, moderate blue. Relative luminance 0.137; OKLCH L 52.0% C 0.077 H 287.2°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#666293
RGBrgb(102, 98, 147)
HSLhsl(245, 20%, 48%)
HSVhsv(245, 33%, 58%)
CMYKcmyk(30.6%, 33.3%, 0%, 42.4%)
CIE-LABlab(43.75, 13.33, -26.31)
CIE-LCHlch(43.75, 29.49, 296.87°)
OKLaboklab(52.02% 0.0226 -0.0732)
OKLCHoklch(52.02% 0.077 287.2)
XYZxyz(15.1123, 13.6664, 29.4398)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666293 #8F9362
analogous
#627693 #666293 #7E6293
triadic
#666293 #936662 #629366
tetradic
#666293 #936276 #8F9362 #62937E
square
#666293 #936276 #8F9362 #62937E
split-complementary
#666293 #937E62 #769362
monochromatic
#33314A #4D4A6E #666293 #8885AD #ACA9C6

Accessibility & contrast

On white

5.62
#666293 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#666293 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666293
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666293#FFFFFF#000000##FFFFFF
##6662931.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546995
Deuteranopia (green-blind)
#536692
Tritanopia (blue-blind)
#5B6B74
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #666293;
/* rgb */ color: rgb(102, 98, 147);
/* oklch */ color: oklch(52.0% 0.077 287.2);
Tailwind
colors: {
  custom: {
    50: '#938eb3',
    500: '#666293',
    950: '#000000',
  },
}
SCSS
$custom: #666293;
$custom-light: #938eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#666293",
  "rgb": {
    "r": 102,
    "g": 98,
    "b": 147
  },
  "hsl": {
    "h": 244.898,
    "s": 20,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52019,
    "c": 0.07656,
    "h": 287.2
  },
  "luminance": 0.13667
}

Semantic roles & 50–950 ramp

primary
#666293
secondary
#B3B59C
accent
#BD6BB6
background
#F9F8FB
surface
#F1F0F6
border
#CBCBD0
text
#0D0C11
muted
#7E7D80

Preview Lab

Preview with #666293

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

Preview Lab → · Contrast checker → · Palette generator →

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