#7F72BC#7F72BC

#7F72BC is a mid, moderate violet. Relative luminance 0.202; OKLCH L 59.5% C 0.111 H 290.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7F72BC
RGBrgb(127, 114, 188)
HSLhsl(251, 36%, 59%)
HSVhsv(251, 39%, 74%)
CMYKcmyk(32.4%, 39.4%, 0%, 26.3%)
CIE-LABlab(52.04, 22.08, -37.21)
CIE-LCHlch(52.04, 43.27, 300.69°)
OKLaboklab(59.52% 0.0393 -0.1041)
OKLCHoklch(59.52% 0.111 290.7)
XYZxyz(23.8445, 20.1770, 50.2055)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F72BC #AFBC72
analogous
#728ABC #7F72BC #A472BC
triadic
#7F72BC #BC7F72 #72BC7F
tetradic
#7F72BC #BC728A #AFBC72 #72BCA4
square
#7F72BC #BC728A #AFBC72 #72BCA4
split-complementary
#7F72BC #BCA472 #8ABC72
monochromatic
#453A7A #5D4EA3 #7F72BC #A59BD0 #CAC5E3

Accessibility & contrast

On white

4.17
#7F72BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#7F72BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F72BC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F72BC#FFFFFF#000000##000000
##7F72BC1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7DBF
Deuteranopia (green-blind)
#5C7BBA
Tritanopia (blue-blind)
#71808E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7f72bc;
/* rgb */ color: rgb(127, 114, 188);
/* oklch */ color: oklch(59.5% 0.111 290.7);
Tailwind
colors: {
  custom: {
    50: '#a69ad0',
    500: '#7f72bc',
    950: '#000000',
  },
}
SCSS
$custom: #7f72bc;
$custom-light: #a69ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f72bc",
  "rgb": {
    "r": 127,
    "g": 114,
    "b": 188
  },
  "hsl": {
    "h": 250.541,
    "s": 35.577,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5952,
    "c": 0.11132,
    "h": 290.7
  },
  "luminance": 0.20177
}

Semantic roles & 50–950 ramp

primary
#7F72BC
secondary
#CED3B6
accent
#CC5CB8
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7F72BC

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

Preview Lab → · Contrast checker → · Palette generator →

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