#7D72DB#7D72DB

#7D72DB is a mid, vivid blue. Relative luminance 0.215; OKLCH L 61.1% C 0.155 H 285.6°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#7D72DB
RGBrgb(125, 114, 219)
HSLhsl(246, 59%, 65%)
HSVhsv(246, 48%, 86%)
CMYKcmyk(42.9%, 47.9%, 0%, 14.1%)
CIE-LABlab(53.50, 30.15, -52.55)
CIE-LCHlch(53.50, 60.59, 299.84°)
OKLaboklab(61.12% 0.0417 -0.149)
OKLCHoklch(61.12% 0.155 285.6)
XYZxyz(27.2573, 21.5080, 69.7194)
Luminance0.2151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D72DB #D0DB72
analogous
#729BDB #7D72DB #B272DB
triadic
#7D72DB #DB7D72 #72DB7D
tetradic
#7D72DB #DB729B #D0DB72 #72DBB2
square
#7D72DB #DB729B #D0DB72 #72DBB2
split-complementary
#7D72DB #DBB272 #9BDB72
monochromatic
#382BA8 #5041CF #7D72DB #AAA3E7 #D7D4F4

Accessibility & contrast

On white

3.96
#7D72DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#7D72DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D72DB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D72DB#FFFFFF#000000##000000
##7D72DB1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4783DF
Deuteranopia (green-blind)
#457DD9
Tritanopia (blue-blind)
#60889C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7d72db;
/* rgb */ color: rgb(125, 114, 219);
/* oklch */ color: oklch(61.1% 0.155 285.6);
Tailwind
colors: {
  custom: {
    50: '#a79ae7',
    500: '#7d72db',
    950: '#000000',
  },
}
SCSS
$custom: #7d72db;
$custom-light: #a79ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d72db",
  "rgb": {
    "r": 125,
    "g": 114,
    "b": 219
  },
  "hsl": {
    "h": 246.286,
    "s": 59.322,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61118,
    "c": 0.15473,
    "h": 285.6
  },
  "luminance": 0.21509
}

Semantic roles & 50–950 ramp

primary
#7D72DB
secondary
#E2E6C3
accent
#C71FB5
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7D72DB

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

Preview Lab → · Contrast checker → · Palette generator →

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