#7F73DB#7F73DB

#7F73DB is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.5% C 0.153 H 286.2°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7F73DB
RGBrgb(127, 115, 219)
HSLhsl(247, 59%, 65%)
HSVhsv(247, 47%, 86%)
CMYKcmyk(42%, 47.5%, 0%, 14.1%)
CIE-LABlab(53.91, 30.04, -51.90)
CIE-LCHlch(53.91, 59.96, 300.06°)
OKLaboklab(61.46% 0.0429 -0.147)
OKLCHoklch(61.46% 0.153 286.2)
XYZxyz(27.6657, 21.8869, 69.7710)
Luminance0.2189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F73DB #CFDB73
analogous
#739BDB #7F73DB #B373DB
triadic
#7F73DB #DB7F73 #73DB7F
tetradic
#7F73DB #DB739B #CFDB73 #73DBB3
square
#7F73DB #DB739B #CFDB73 #73DBB3
split-complementary
#7F73DB #DBB373 #9BDB73
monochromatic
#3A2BA8 #5242CE #7F73DB #ACA4E8 #D8D4F4

Accessibility & contrast

On white

3.91
#7F73DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#7F73DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F73DB
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F73DB#FFFFFF#000000##000000
##7F73DB1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A84DF
Deuteranopia (green-blind)
#487ED9
Tritanopia (blue-blind)
#64889D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7f73db;
/* rgb */ color: rgb(127, 115, 219);
/* oklch */ color: oklch(61.5% 0.153 286.2);
Tailwind
colors: {
  custom: {
    50: '#a99be7',
    500: '#7f73db',
    950: '#000000',
  },
}
SCSS
$custom: #7f73db;
$custom-light: #a99be7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f73db",
  "rgb": {
    "r": 127,
    "g": 115,
    "b": 219
  },
  "hsl": {
    "h": 246.923,
    "s": 59.091,
    "l": 65.49
  },
  "oklch": {
    "l": 0.61463,
    "c": 0.15314,
    "h": 286.2
  },
  "luminance": 0.21888
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F73DB

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

Preview Lab → · Contrast checker → · Palette generator →

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