#7F72DD#7F72DD

#7F72DD is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.4% C 0.157 H 286.4°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7F72DD
RGBrgb(127, 114, 221)
HSLhsl(247, 61%, 66%)
HSVhsv(247, 48%, 87%)
CMYKcmyk(42.5%, 48.4%, 0%, 13.3%)
CIE-LABlab(53.78, 31.20, -53.23)
CIE-LCHlch(53.78, 61.70, 300.38°)
OKLaboklab(61.4% 0.0443 -0.1509)
OKLCHoklch(61.4% 0.157 286.4)
XYZxyz(27.8171, 21.7660, 71.1282)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F72DD #D0DD72
analogous
#729ADD #7F72DD #B472DD
triadic
#7F72DD #DD7F72 #72DD7F
tetradic
#7F72DD #DD729A #D0DD72 #72DDB4
square
#7F72DD #DD729A #D0DD72 #72DDB4
split-complementary
#7F72DD #DDB472 #9ADD72
monochromatic
#3929AB #5241D1 #7F72DD #ACA3E9 #D9D5F5

Accessibility & contrast

On white

3.92
#7F72DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#7F72DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F72DD
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F72DD#FFFFFF#000000##000000
##7F72DD1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4683E1
Deuteranopia (green-blind)
#447EDB
Tritanopia (blue-blind)
#63889D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7f72dd;
/* rgb */ color: rgb(127, 114, 221);
/* oklch */ color: oklch(61.4% 0.157 286.4);
Tailwind
colors: {
  custom: {
    50: '#a99ae8',
    500: '#7f72dd',
    950: '#000000',
  },
}
SCSS
$custom: #7f72dd;
$custom-light: #a99ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f72dd",
  "rgb": {
    "r": 127,
    "g": 114,
    "b": 221
  },
  "hsl": {
    "h": 247.29,
    "s": 61.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61403,
    "c": 0.1573,
    "h": 286.4
  },
  "luminance": 0.21767
}

Semantic roles & 50–950 ramp

primary
#7F72DD
secondary
#E3E7C4
accent
#C91DB4
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7F72DD

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

Preview Lab → · Contrast checker → · Palette generator →

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