#7F73BB#7F73BB

#7F73BB is a mid, moderate violet. Relative luminance 0.204; OKLCH L 59.7% C 0.108 H 290.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7F73BB
RGBrgb(127, 115, 187)
HSLhsl(250, 35%, 59%)
HSVhsv(250, 39%, 73%)
CMYKcmyk(32.1%, 38.5%, 0%, 26.7%)
CIE-LABlab(52.24, 21.22, -36.31)
CIE-LCHlch(52.24, 42.06, 300.31°)
OKLaboklab(59.66% 0.0377 -0.1015)
OKLCHoklch(59.66% 0.108 290.4)
XYZxyz(23.8505, 20.3608, 49.6775)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F73BB #AFBB73
analogous
#738BBB #7F73BB #A373BB
triadic
#7F73BB #BB7F73 #73BB7F
tetradic
#7F73BB #BB738B #AFBB73 #73BBA3
square
#7F73BB #BB738B #AFBB73 #73BBA3
split-complementary
#7F73BB #BBA373 #8BBB73
monochromatic
#453B79 #5D4FA2 #7F73BB #A59CCF #CAC5E3

Accessibility & contrast

On white

4.14
#7F73BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#7F73BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F73BB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F73BB#FFFFFF#000000##000000
##7F73BB1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7EBE
Deuteranopia (green-blind)
#5E7BB9
Tritanopia (blue-blind)
#71808E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7f73bb;
/* rgb */ color: rgb(127, 115, 187);
/* oklch */ color: oklch(59.7% 0.108 290.4);
Tailwind
colors: {
  custom: {
    50: '#a69bd0',
    500: '#7f73bb',
    950: '#000000',
  },
}
SCSS
$custom: #7f73bb;
$custom-light: #a69bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f73bb",
  "rgb": {
    "r": 127,
    "g": 115,
    "b": 187
  },
  "hsl": {
    "h": 250,
    "s": 34.615,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59661,
    "c": 0.10832,
    "h": 290.4
  },
  "luminance": 0.20361
}

Semantic roles & 50–950 ramp

primary
#7F73BB
secondary
#CED3B7
accent
#CB5DB8
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7F73BB

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

Preview Lab → · Contrast checker → · Palette generator →

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