#7E89FD#7E89FD

#7E89FD is a light, vivid blue. Relative luminance 0.294; OKLCH L 67.5% C 0.170 H 276.8°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#7E89FD
RGBrgb(126, 137, 253)
HSLhsl(235, 97%, 74%)
HSVhsv(235, 50%, 99%)
CMYKcmyk(50.2%, 45.8%, 0%, 0.8%)
CIE-LABlab(61.15, 26.78, -59.25)
CIE-LCHlch(61.15, 65.02, 294.32°)
OKLaboklab(67.53% 0.02 -0.1685)
OKLCHoklch(67.53% 0.17 276.8)
XYZxyz(35.2739, 29.4167, 96.7287)
Luminance0.2942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E89FD #FDF27E
analogous
#7EC9FD #7E89FD #B37EFD
triadic
#7E89FD #FD7E89 #89FD7E
tetradic
#7E89FD #FD7EC9 #FDF27E #7EFDB3
square
#7E89FD #FD7EC9 #FDF27E #7EFDB3
split-complementary
#7E89FD #FDB37E #C9FD7E
monochromatic
#051BFB #4252FC #7E89FD #BAC0FE #E1E3FF

Accessibility & contrast

On white

3.05
#7E89FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#7E89FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E89FD
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E89FD#FFFFFF#000000##000000
##7E89FD1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5699FF
Deuteranopia (green-blind)
#4A8FFA
Tritanopia (blue-blind)
#49A2B7
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7e89fd;
/* rgb */ color: rgb(126, 137, 253);
/* oklch */ color: oklch(67.5% 0.170 276.8);
Tailwind
colors: {
  custom: {
    50: '#ababff',
    500: '#7e89fd',
    950: '#000000',
  },
}
SCSS
$custom: #7e89fd;
$custom-light: #ababff;
$custom-dark: #000000;
JSON
{
  "hex": "#7e89fd",
  "rgb": {
    "r": 126,
    "g": 137,
    "b": 253
  },
  "hsl": {
    "h": 234.803,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.67533,
    "c": 0.16967,
    "h": 276.8
  },
  "luminance": 0.29419
}

Semantic roles & 50–950 ramp

primary
#7E89FD
secondary
#F7F4D4
accent
#D200E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #7E89FD

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

Preview Lab → · Contrast checker → · Palette generator →

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