#666294#666294

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

Color values

HEX#666294
RGBrgb(102, 98, 148)
HSLhsl(245, 20%, 48%)
HSVhsv(245, 34%, 58%)
CMYKcmyk(31.1%, 33.8%, 0%, 42%)
CIE-LABlab(43.80, 13.60, -26.83)
CIE-LCHlch(43.80, 30.08, 296.88°)
OKLaboklab(52.07% 0.0229 -0.0747)
OKLCHoklch(52.07% 0.078 287)
XYZxyz(15.1911, 13.6979, 29.8548)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666294 #909462
analogous
#627794 #666294 #7F6294
triadic
#666294 #946662 #629466
tetradic
#666294 #946277 #909462 #62947F
square
#666294 #946277 #909462 #62947F
split-complementary
#666294 #947F62 #779462
monochromatic
#33314A #4D4A6F #666294 #8885AE #ACAAC7

Accessibility & contrast

On white

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

On black

3.74
#666294 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##666294#FFFFFF#000000##FFFFFF
##6662941.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #666294;
/* rgb */ color: rgb(102, 98, 148);
/* oklch */ color: oklch(52.1% 0.078 287.0);
Tailwind
colors: {
  custom: {
    50: '#938eb3',
    500: '#666294',
    950: '#000000',
  },
}
SCSS
$custom: #666294;
$custom-light: #938eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#666294",
  "rgb": {
    "r": 102,
    "g": 98,
    "b": 148
  },
  "hsl": {
    "h": 244.8,
    "s": 20.325,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5207,
    "c": 0.07809,
    "h": 287
  },
  "luminance": 0.13698
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #666294

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

Preview Lab → · Contrast checker → · Palette generator →

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