#7B98FA#7B98FA

#7B98FA is a light, vivid blue. Relative luminance 0.336; OKLCH L 70.1% C 0.147 H 269.8°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#7B98FA
RGBrgb(123, 152, 250)
HSLhsl(226, 93%, 73%)
HSVhsv(226, 51%, 98%)
CMYKcmyk(50.8%, 39.2%, 0%, 2%)
CIE-LABlab(64.62, 16.43, -52.10)
CIE-LCHlch(64.62, 54.62, 287.50°)
OKLaboklab(70.08% -0.0004 -0.1475)
OKLCHoklch(70.08% 0.147 269.8)
XYZxyz(36.6463, 33.5671, 94.9720)
Luminance0.3357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B98FA #FADD7B
analogous
#7BD8FA #7B98FA #9D7BFA
triadic
#7B98FA #FA7B98 #98FA7B
tetradic
#7B98FA #FA7BD8 #FADD7B #7BFA9D
square
#7B98FA #FA7BD8 #FADD7B #7BFA9D
split-complementary
#7B98FA #FA9D7B #D8FA7B
monochromatic
#093EF1 #406AF8 #7B98FA #B6C6FC #E2E8FE

Accessibility & contrast

On white

2.72
#7B98FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#7B98FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7B98FA
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B98FA#FFFFFF#000000##000000
##7B98FA1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A3FE
Deuteranopia (green-blind)
#6398F8
Tritanopia (blue-blind)
#42ADBD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7b98fa;
/* rgb */ color: rgb(123, 152, 250);
/* oklch */ color: oklch(70.1% 0.147 269.8);
Tailwind
colors: {
  custom: {
    50: '#a8b6fc',
    500: '#7b98fa',
    950: '#000000',
  },
}
SCSS
$custom: #7b98fa;
$custom-light: #a8b6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b98fa",
  "rgb": {
    "r": 123,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 226.299,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.70085,
    "c": 0.14748,
    "h": 269.8
  },
  "luminance": 0.3357
}

Semantic roles & 50–950 ramp

primary
#7B98FA
secondary
#F6EED5
accent
#B100E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101117
muted
#7F8085

Preview Lab

Preview with #7B98FA

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

Preview Lab → · Contrast checker → · Palette generator →

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