#7893F8#7893F8

#7893F8 is a light, vivid blue. Relative luminance 0.316; OKLCH L 68.8% C 0.152 H 270.7°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#7893F8
RGBrgb(120, 147, 248)
HSLhsl(227, 90%, 72%)
HSVhsv(227, 52%, 97%)
CMYKcmyk(51.6%, 40.7%, 0%, 2.7%)
CIE-LABlab(63.04, 18.09, -53.51)
CIE-LCHlch(63.04, 56.49, 288.68°)
OKLaboklab(68.79% 0.0019 -0.1517)
OKLCHoklch(68.79% 0.152 270.7)
XYZxyz(35.1172, 31.6354, 93.0445)
Luminance0.3164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7893F8 #F8DD78
analogous
#78D3F8 #7893F8 #9D78F8
triadic
#7893F8 #F87893 #93F878
tetradic
#7893F8 #F878D3 #F8DD78 #78F89D
square
#7893F8 #F878D3 #F8DD78 #78F89D
split-complementary
#7893F8 #F89D78 #D3F878
monochromatic
#0C3BE9 #3E64F5 #7893F8 #B2C2FB #E2E8FD

Accessibility & contrast

On white

2.87
#7893F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#7893F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7893F8
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7893F8#FFFFFF#000000##000000
##7893F81.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9EFC
Deuteranopia (green-blind)
#5C93F6
Tritanopia (blue-blind)
#3CA9B9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7893f8;
/* rgb */ color: rgb(120, 147, 248);
/* oklch */ color: oklch(68.8% 0.152 270.7);
Tailwind
colors: {
  custom: {
    50: '#a6b2fb',
    500: '#7893f8',
    950: '#000000',
  },
}
SCSS
$custom: #7893f8;
$custom-light: #a6b2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7893f8",
  "rgb": {
    "r": 120,
    "g": 147,
    "b": 248
  },
  "hsl": {
    "h": 227.344,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68793,
    "c": 0.15174,
    "h": 270.7
  },
  "luminance": 0.31638
}

Semantic roles & 50–950 ramp

primary
#7893F8
secondary
#F6EFD5
accent
#B500E6
background
#FAFAFF
surface
#F4F5FF
border
#CECFD7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7893F8

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

Preview Lab → · Contrast checker → · Palette generator →

#7893F8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva