#7D66BB#7D66BB

#7D66BB is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.0% C 0.129 H 294.4°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7D66BB
RGBrgb(125, 102, 187)
HSLhsl(256, 38%, 57%)
HSVhsv(256, 45%, 73%)
CMYKcmyk(33.2%, 45.5%, 0%, 26.7%)
CIE-LABlab(48.82, 28.41, -41.71)
CIE-LCHlch(48.82, 50.47, 304.25°)
OKLaboklab(57.03% 0.0533 -0.1173)
OKLCHoklch(57.03% 0.129 294.4)
XYZxyz(22.1762, 17.4502, 49.2039)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D66BB #A4BB66
analogous
#667ABB #7D66BB #A866BB
triadic
#7D66BB #BB7D66 #66BB7D
tetradic
#7D66BB #BB667A #A4BB66 #66BBA8
square
#7D66BB #BB667A #A4BB66 #66BBA8
split-complementary
#7D66BB #BBA866 #7ABB66
monochromatic
#453373 #5E469E #7D66BB #A190CE #C5BBE1

Accessibility & contrast

On white

4.68
#7D66BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#7D66BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D66BB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D66BB#FFFFFF#000000##FFFFFF
##7D66BB1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A75BE
Deuteranopia (green-blind)
#4E73B9
Tritanopia (blue-blind)
#6F7687
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7d66bb;
/* rgb */ color: rgb(125, 102, 187);
/* oklch */ color: oklch(57.0% 0.129 294.4);
Tailwind
colors: {
  custom: {
    50: '#a592d0',
    500: '#7d66bb',
    950: '#000000',
  },
}
SCSS
$custom: #7d66bb;
$custom-light: #a592d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d66bb",
  "rgb": {
    "r": 125,
    "g": 102,
    "b": 187
  },
  "hsl": {
    "h": 256.235,
    "s": 38.462,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57025,
    "c": 0.12883,
    "h": 294.4
  },
  "luminance": 0.17451
}

Semantic roles & 50–950 ramp

primary
#7D66BB
secondary
#C6D0AD
accent
#CE59AF
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#0F0D14
muted
#7F7E82

Preview Lab

Preview with #7D66BB

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

Preview Lab → · Contrast checker → · Palette generator →

#7D66BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva