#7661CC#7661CC

#7661CC is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.5% C 0.159 H 289.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7661CC
RGBrgb(118, 97, 204)
HSLhsl(252, 51%, 59%)
HSVhsv(252, 52%, 80%)
CMYKcmyk(42.2%, 52.5%, 0%, 20%)
CIE-LABlab(47.96, 34.28, -52.93)
CIE-LCHlch(47.96, 63.06, 302.93°)
OKLaboklab(56.54% 0.0527 -0.1504)
OKLCHoklch(56.54% 0.159 289.3)
XYZxyz(22.6420, 16.7598, 59.1570)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7661CC #B7CC61
analogous
#6182CC #7661CC #AC61CC
triadic
#7661CC #CC7661 #61CC76
tetradic
#7661CC #CC6182 #B7CC61 #61CCAC
square
#7661CC #CC6182 #B7CC61 #61CCAC
split-complementary
#7661CC #CCAC61 #82CC61
monochromatic
#3E2C87 #533BB5 #7661CC #9E8FDB #C6BEEA

Accessibility & contrast

On white

4.83
#7661CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#7661CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7661CC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7661CC#FFFFFF#000000##FFFFFF
##7661CC1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3074D0
Deuteranopia (green-blind)
#326FCA
Tritanopia (blue-blind)
#5D788D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7661cc;
/* rgb */ color: rgb(118, 97, 204);
/* oklch */ color: oklch(56.5% 0.159 289.3);
Tailwind
colors: {
  custom: {
    50: '#a28edc',
    500: '#7661cc',
    950: '#000000',
  },
}
SCSS
$custom: #7661cc;
$custom-light: #a28edc;
$custom-dark: #000000;
JSON
{
  "hex": "#7661cc",
  "rgb": {
    "r": 118,
    "g": 97,
    "b": 204
  },
  "hsl": {
    "h": 251.776,
    "s": 51.196,
    "l": 59.02
  },
  "oklch": {
    "l": 0.56536,
    "c": 0.15933,
    "h": 289.3
  },
  "luminance": 0.16761
}

Semantic roles & 50–950 ramp

primary
#7661CC
secondary
#D1D9AF
accent
#DB4DBF
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #7661CC

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

Preview Lab → · Contrast checker → · Palette generator →

#7661CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva