#7E89FC#7E89FC

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

Color values

HEX#7E89FC
RGBrgb(126, 137, 252)
HSLhsl(235, 95%, 74%)
HSVhsv(235, 50%, 99%)
CMYKcmyk(50%, 45.6%, 0%, 1.2%)
CIE-LABlab(61.09, 26.48, -58.79)
CIE-LCHlch(61.09, 64.48, 294.25°)
OKLaboklab(67.47% 0.0199 -0.1671)
OKLCHoklch(67.47% 0.168 276.8)
XYZxyz(35.1150, 29.3531, 95.8920)
Luminance0.2935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E89FC #FCF17E
analogous
#7EC8FC #7E89FC #B27EFC
triadic
#7E89FC #FC7E89 #89FC7E
tetradic
#7E89FC #FC7EC8 #FCF17E #7EFCB2
square
#7E89FC #FC7EC8 #FCF17E #7EFCB2
split-complementary
#7E89FC #FCB27E #C8FC7E
monochromatic
#061CF9 #4252FB #7E89FC #BAC0FD #E1E4FE

Accessibility & contrast

On white

3.06
#7E89FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#7E89FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E89FC
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E89FC#FFFFFF#000000##000000
##7E89FC1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5799FF
Deuteranopia (green-blind)
#4B8FF9
Tritanopia (blue-blind)
#4AA2B6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7e89fc;
/* rgb */ color: rgb(126, 137, 252);
/* oklch */ color: oklch(67.5% 0.168 276.8);
Tailwind
colors: {
  custom: {
    50: '#ababfe',
    500: '#7e89fc',
    950: '#000000',
  },
}
SCSS
$custom: #7e89fc;
$custom-light: #ababfe;
$custom-dark: #000000;
JSON
{
  "hex": "#7e89fc",
  "rgb": {
    "r": 126,
    "g": 137,
    "b": 252
  },
  "hsl": {
    "h": 234.762,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.67473,
    "c": 0.16832,
    "h": 276.8
  },
  "luminance": 0.29355
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E89FC

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

Preview Lab → · Contrast checker → · Palette generator →

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