#7F78DB#7F78DB

#7F78DB is a light, vivid blue. Relative luminance 0.231; OKLCH L 62.4% C 0.146 H 284.5°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#7F78DB
RGBrgb(127, 120, 219)
HSLhsl(244, 58%, 66%)
HSVhsv(244, 45%, 86%)
CMYKcmyk(42%, 45.2%, 0%, 14.1%)
CIE-LABlab(55.13, 27.08, -49.94)
CIE-LCHlch(55.13, 56.81, 298.47°)
OKLaboklab(62.39% 0.0367 -0.1413)
OKLCHoklch(62.39% 0.146 284.5)
XYZxyz(28.2514, 23.0583, 69.9662)
Luminance0.2306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F78DB #D4DB78
analogous
#78A3DB #7F78DB #B178DB
triadic
#7F78DB #DB7F78 #78DB7F
tetradic
#7F78DB #DB78A3 #D4DB78 #78DBB1
square
#7F78DB #DB78A3 #D4DB78 #78DBB1
split-complementary
#7F78DB #DBB178 #A3DB78
monochromatic
#362EAB #5148CE #7F78DB #ADA8E8 #DBD9F5

Accessibility & contrast

On white

3.74
#7F78DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#7F78DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F78DB
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F78DB#FFFFFF#000000##000000
##7F78DB1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5287DF
Deuteranopia (green-blind)
#4F81D9
Tritanopia (blue-blind)
#638C9F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7f78db;
/* rgb */ color: rgb(127, 120, 219);
/* oklch */ color: oklch(62.4% 0.146 284.5);
Tailwind
colors: {
  custom: {
    50: '#a89fe7',
    500: '#7f78db',
    950: '#000000',
  },
}
SCSS
$custom: #7f78db;
$custom-light: #a89fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f78db",
  "rgb": {
    "r": 127,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 244.242,
    "s": 57.895,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62388,
    "c": 0.14596,
    "h": 284.5
  },
  "luminance": 0.23059
}

Semantic roles & 50–950 ramp

primary
#7F78DB
secondary
#E5E7C7
accent
#C520BA
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7F78DB

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

Preview Lab → · Contrast checker → · Palette generator →

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