#7893FA#7893FA

#7893FA is a light, vivid blue. Relative luminance 0.318; OKLCH L 68.9% C 0.154 H 270.8°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#7893FA
RGBrgb(120, 147, 250)
HSLhsl(228, 93%, 73%)
HSVhsv(228, 52%, 98%)
CMYKcmyk(52%, 41.2%, 0%, 2%)
CIE-LABlab(63.14, 18.70, -54.45)
CIE-LCHlch(63.14, 57.57, 288.96°)
OKLaboklab(68.91% 0.0022 -0.1544)
OKLCHoklch(68.91% 0.154 270.8)
XYZxyz(35.4292, 31.7602, 94.6873)
Luminance0.3176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7893FA #FADF78
analogous
#78D4FA #7893FA #9E78FA
triadic
#7893FA #FA7893 #93FA78
tetradic
#7893FA #FA78D4 #FADF78 #78FA9E
square
#7893FA #FA78D4 #FADF78 #78FA9E
split-complementary
#7893FA #FA9E78 #D4FA78
monochromatic
#0939EF #3D64F8 #7893FA #B3C2FC #E1E7FE

Accessibility & contrast

On white

2.86
#7893FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#7893FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7893FA
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7893FA#FFFFFF#000000##000000
##7893FA1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#699FFE
Deuteranopia (green-blind)
#5A94F8
Tritanopia (blue-blind)
#3AA9BA
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7893fa;
/* rgb */ color: rgb(120, 147, 250);
/* oklch */ color: oklch(68.9% 0.154 270.8);
Tailwind
colors: {
  custom: {
    50: '#a7b2fc',
    500: '#7893fa',
    950: '#000000',
  },
}
SCSS
$custom: #7893fa;
$custom-light: #a7b2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7893fa",
  "rgb": {
    "r": 120,
    "g": 147,
    "b": 250
  },
  "hsl": {
    "h": 227.538,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68906,
    "c": 0.15447,
    "h": 270.8
  },
  "luminance": 0.31763
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7893FA

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

Preview Lab → · Contrast checker → · Palette generator →

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