#766282#766282

#766282 is a mid, muted violet. Relative luminance 0.142; OKLCH L 52.7% C 0.055 H 312.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#766282
RGBrgb(118, 98, 130)
HSLhsl(278, 14%, 45%)
HSVhsv(278, 25%, 51%)
CMYKcmyk(9.2%, 24.6%, 0%, 49%)
CIE-LABlab(44.52, 14.47, -14.81)
CIE-LCHlch(44.52, 20.70, 314.33°)
OKLaboklab(52.73% 0.037 -0.0402)
OKLCHoklch(52.73% 0.055 312.6)
XYZxyz(15.8675, 14.1988, 23.0195)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766282 #6E8262
analogous
#666282 #766282 #82627E
triadic
#766282 #827662 #628276
tetradic
#766282 #826662 #6E8262 #627E82
square
#766282 #826662 #6E8262 #627E82
split-complementary
#766282 #7E8262 #628266
monochromatic
#372D3C #56485F #766282 #9481A0 #B2A4BA

Accessibility & contrast

On white

5.47
#766282 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#766282 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766282
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766282#FFFFFF#000000##FFFFFF
##7662821.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6883
Deuteranopia (green-blind)
#616A81
Tritanopia (blue-blind)
#75666D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #766282;
/* rgb */ color: rgb(118, 98, 130);
/* oklch */ color: oklch(52.7% 0.055 312.6);
Tailwind
colors: {
  custom: {
    50: '#9d8ea6',
    500: '#766282',
    950: '#000000',
  },
}
SCSS
$custom: #766282;
$custom-light: #9d8ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#766282",
  "rgb": {
    "r": 118,
    "g": 98,
    "b": 130
  },
  "hsl": {
    "h": 277.5,
    "s": 14.035,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5273,
    "c": 0.05466,
    "h": 312.6
  },
  "luminance": 0.14199
}

Semantic roles & 50–950 ramp

primary
#766282
secondary
#9EA997
accent
#B7718B
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0E0C0F
muted
#7E7D7F

Preview Lab

Preview with #766282

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

Preview Lab → · Contrast checker → · Palette generator →

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