#7666BF#7666BF

#7666BF is a mid, vivid violet. Relative luminance 0.171; OKLCH L 56.6% C 0.134 H 289.7°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7666BF
RGBrgb(118, 102, 191)
HSLhsl(251, 41%, 57%)
HSVhsv(251, 47%, 75%)
CMYKcmyk(38.2%, 46.6%, 0%, 25.1%)
CIE-LABlab(48.41, 27.63, -44.73)
CIE-LCHlch(48.41, 52.57, 301.70°)
OKLaboklab(56.63% 0.0452 -0.1263)
OKLCHoklch(56.63% 0.134 289.7)
XYZxyz(21.6240, 17.1153, 51.4444)
Luminance0.1712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7666BF #AFBF66
analogous
#6682BF #7666BF #A366BF
triadic
#7666BF #BF7666 #66BF76
tetradic
#7666BF #BF6682 #AFBF66 #66BFA3
square
#7666BF #BF6682 #AFBF66 #66BFA3
split-complementary
#7666BF #BFA366 #82BF66
monochromatic
#3F3278 #5544A3 #7666BF #9D91D1 #C3BCE3

Accessibility & contrast

On white

4.75
#7666BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#7666BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7666BF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7666BF#FFFFFF#000000##FFFFFF
##7666BF1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4675C2
Deuteranopia (green-blind)
#4771BD
Tritanopia (blue-blind)
#637889
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7666bf;
/* rgb */ color: rgb(118, 102, 191);
/* oklch */ color: oklch(56.6% 0.134 289.7);
Tailwind
colors: {
  custom: {
    50: '#a192d3',
    500: '#7666bf',
    950: '#000000',
  },
}
SCSS
$custom: #7666bf;
$custom-light: #a192d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7666bf",
  "rgb": {
    "r": 118,
    "g": 102,
    "b": 191
  },
  "hsl": {
    "h": 250.787,
    "s": 41.014,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56629,
    "c": 0.13413,
    "h": 289.7
  },
  "luminance": 0.17116
}

Semantic roles & 50–950 ramp

primary
#7666BF
secondary
#CCD2AE
accent
#D157BB
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0D14
muted
#7F7D83

Preview Lab

Preview with #7666BF

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

Preview Lab → · Contrast checker → · Palette generator →

#7666BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva