#7F72BE#7F72BE

#7F72BE is a mid, moderate violet. Relative luminance 0.203; OKLCH L 59.6% C 0.114 H 290.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7F72BE
RGBrgb(127, 114, 190)
HSLhsl(250, 37%, 60%)
HSVhsv(250, 40%, 75%)
CMYKcmyk(33.2%, 40%, 0%, 25.5%)
CIE-LABlab(52.13, 22.62, -38.20)
CIE-LCHlch(52.13, 44.40, 300.63°)
OKLaboklab(59.63% 0.0397 -0.107)
OKLCHoklch(59.63% 0.114 290.4)
XYZxyz(24.0616, 20.2638, 51.3488)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F72BE #B1BE72
analogous
#728BBE #7F72BE #A572BE
triadic
#7F72BE #BE7F72 #72BE7F
tetradic
#7F72BE #BE728B #B1BE72 #72BEA5
square
#7F72BE #BE728B #B1BE72 #72BEA5
split-complementary
#7F72BE #BEA572 #8BBE72
monochromatic
#45397C #5C4DA6 #7F72BE #A59CD1 #CBC6E5

Accessibility & contrast

On white

4.16
#7F72BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#7F72BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F72BE
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F72BE#FFFFFF#000000##000000
##7F72BE1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7EC1
Deuteranopia (green-blind)
#5B7BBC
Tritanopia (blue-blind)
#70808F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7f72be;
/* rgb */ color: rgb(127, 114, 190);
/* oklch */ color: oklch(59.6% 0.114 290.4);
Tailwind
colors: {
  custom: {
    50: '#a69ad2',
    500: '#7f72be',
    950: '#000000',
  },
}
SCSS
$custom: #7f72be;
$custom-light: #a69ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f72be",
  "rgb": {
    "r": 127,
    "g": 114,
    "b": 190
  },
  "hsl": {
    "h": 250.263,
    "s": 36.893,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59626,
    "c": 0.11417,
    "h": 290.4
  },
  "luminance": 0.20264
}

Semantic roles & 50–950 ramp

primary
#7F72BE
secondary
#D0D5B7
accent
#CD5BB9
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #7F72BE

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

Preview Lab → · Contrast checker → · Palette generator →

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