#7F72BB#7F72BB

#7F72BB is a mid, moderate violet. Relative luminance 0.201; OKLCH L 59.5% C 0.110 H 290.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7F72BB
RGBrgb(127, 114, 187)
HSLhsl(251, 35%, 59%)
HSVhsv(251, 39%, 73%)
CMYKcmyk(32.1%, 39%, 0%, 26.7%)
CIE-LABlab(51.99, 21.82, -36.71)
CIE-LCHlch(51.99, 42.70, 300.73°)
OKLaboklab(59.47% 0.0391 -0.1027)
OKLCHoklch(59.47% 0.11 290.8)
XYZxyz(23.7370, 20.1340, 49.6397)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F72BB #AEBB72
analogous
#728ABB #7F72BB #A472BB
triadic
#7F72BB #BB7F72 #72BB7F
tetradic
#7F72BB #BB728A #AEBB72 #72BBA4
square
#7F72BB #BB728A #AEBB72 #72BBA4
split-complementary
#7F72BB #BBA472 #8ABB72
monochromatic
#453A78 #5D4EA2 #7F72BB #A49BCF #CAC5E3

Accessibility & contrast

On white

4.18
#7F72BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#7F72BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F72BB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F72BB#FFFFFF#000000##000000
##7F72BB1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7DBE
Deuteranopia (green-blind)
#5D7AB9
Tritanopia (blue-blind)
#717F8D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7f72bb;
/* rgb */ color: rgb(127, 114, 187);
/* oklch */ color: oklch(59.5% 0.110 290.8);
Tailwind
colors: {
  custom: {
    50: '#a69ad0',
    500: '#7f72bb',
    950: '#000000',
  },
}
SCSS
$custom: #7f72bb;
$custom-light: #a69ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f72bb",
  "rgb": {
    "r": 127,
    "g": 114,
    "b": 187
  },
  "hsl": {
    "h": 250.685,
    "s": 34.928,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59467,
    "c": 0.10989,
    "h": 290.8
  },
  "luminance": 0.20135
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F72BB

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

Preview Lab → · Contrast checker → · Palette generator →

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