#7A72CF#7A72CF

#7A72CF is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.2% C 0.138 H 285.4°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7A72CF
RGBrgb(122, 114, 207)
HSLhsl(245, 49%, 63%)
HSVhsv(245, 45%, 81%)
CMYKcmyk(41.1%, 44.9%, 0%, 18.8%)
CIE-LABlab(52.59, 25.99, -47.22)
CIE-LCHlch(52.59, 53.90, 298.83°)
OKLaboklab(60.16% 0.0367 -0.1335)
OKLCHoklch(60.16% 0.138 285.4)
XYZxyz(25.3026, 20.6763, 61.6771)
Luminance0.2068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A72CF #C7CF72
analogous
#7299CF #7A72CF #A872CF
triadic
#7A72CF #CF7A72 #72CF7A
tetradic
#7A72CF #CF7299 #C7CF72 #72CFA8
square
#7A72CF #CF7299 #C7CF72 #72CFA8
split-complementary
#7A72CF #CFA872 #99CF72
monochromatic
#3B3294 #4F44BF #7A72CF #A5A0DF #D0CDEE

Accessibility & contrast

On white

4.09
#7A72CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#7A72CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A72CF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A72CF#FFFFFF#000000##000000
##7A72CF1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F80D2
Deuteranopia (green-blind)
#4D7BCD
Tritanopia (blue-blind)
#618596
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7a72cf;
/* rgb */ color: rgb(122, 114, 207);
/* oklch */ color: oklch(60.2% 0.138 285.4);
Tailwind
colors: {
  custom: {
    50: '#a49ade',
    500: '#7a72cf',
    950: '#000000',
  },
}
SCSS
$custom: #7a72cf;
$custom-light: #a49ade;
$custom-dark: #000000;
JSON
{
  "hex": "#7a72cf",
  "rgb": {
    "r": 122,
    "g": 114,
    "b": 207
  },
  "hsl": {
    "h": 245.161,
    "s": 49.206,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60157,
    "c": 0.13839,
    "h": 285.4
  },
  "luminance": 0.20677
}

Semantic roles & 50–950 ramp

primary
#7A72CF
secondary
#DCDFBE
accent
#BD29B0
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7A72CF

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

Preview Lab → · Contrast checker → · Palette generator →

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