#7F72F5#7F72F5

#7F72F5 is a light, vivid blue. Relative luminance 0.231; OKLCH L 62.9% C 0.189 H 284.0°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#7F72F5
RGBrgb(127, 114, 245)
HSLhsl(246, 87%, 70%)
HSVhsv(246, 53%, 96%)
CMYKcmyk(48.2%, 53.5%, 0%, 3.9%)
CIE-LABlab(55.21, 38.13, -64.35)
CIE-LCHlch(55.21, 74.80, 300.65°)
OKLaboklab(62.94% 0.0459 -0.1836)
OKLCHoklch(62.94% 0.189 284)
XYZxyz(31.2462, 23.1377, 89.1881)
Luminance0.2314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F72F5 #E8F572
analogous
#72A6F5 #7F72F5 #C072F5
triadic
#7F72F5 #F57F72 #72F57F
tetradic
#7F72F5 #F572A6 #E8F572 #72F5C0
square
#7F72F5 #F572A6 #E8F572 #72F5C0
split-complementary
#7F72F5 #F5C072 #A6F572
monochromatic
#2410DD #4B39F1 #7F72F5 #B3ABF9 #E5E2FD

Accessibility & contrast

On white

3.73
#7F72F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#7F72F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F72F5
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F72F5#FFFFFF#000000##000000
##7F72F51.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2988FA
Deuteranopia (green-blind)
#2080F2
Tritanopia (blue-blind)
#558FA9
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7f72f5;
/* rgb */ color: rgb(127, 114, 245);
/* oklch */ color: oklch(62.9% 0.189 284.0);
Tailwind
colors: {
  custom: {
    50: '#ab9bf9',
    500: '#7f72f5',
    950: '#000000',
  },
}
SCSS
$custom: #7f72f5;
$custom-light: #ab9bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f72f5",
  "rgb": {
    "r": 127,
    "g": 114,
    "b": 245
  },
  "hsl": {
    "h": 245.954,
    "s": 86.755,
    "l": 70.392
  },
  "oklch": {
    "l": 0.62938,
    "c": 0.18925,
    "h": 284
  },
  "luminance": 0.23139
}

Semantic roles & 50–950 ramp

primary
#7F72F5
secondary
#F0F3CF
accent
#E302CD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #7F72F5

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

Preview Lab → · Contrast checker → · Palette generator →

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