#7B62FB#7B62FB

#7B62FB is a mid, highly saturated blue. Relative luminance 0.199; OKLCH L 60.4% C 0.218 H 285.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7B62FB
RGBrgb(123, 98, 251)
HSLhsl(250, 95%, 68%)
HSVhsv(250, 61%, 98%)
CMYKcmyk(51%, 61%, 0%, 1.6%)
CIE-LABlab(51.74, 48.26, -73.32)
CIE-LCHlch(51.74, 87.78, 303.35°)
OKLaboklab(60.42% 0.0575 -0.2102)
OKLCHoklch(60.42% 0.218 285.3)
XYZxyz(29.9434, 19.9098, 93.5133)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B62FB #E2FB62
analogous
#6295FB #7B62FB #C762FB
triadic
#7B62FB #FB7B62 #62FB7B
tetradic
#7B62FB #FB6295 #E2FB62 #62FBC7
square
#7B62FB #FB6295 #E2FB62 #62FBC7
split-complementary
#7B62FB #FBC762 #95FB62
monochromatic
#2906DD #4926F9 #7B62FB #AD9EFD #DFD9FE

Accessibility & contrast

On white

4.22
#7B62FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#7B62FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B62FB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B62FB#FFFFFF#000000##000000
##7B62FB1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#0077F8
Tritanopia (blue-blind)
#4987A5
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7b62fb;
/* rgb */ color: rgb(123, 98, 251);
/* oklch */ color: oklch(60.4% 0.218 285.3);
Tailwind
colors: {
  custom: {
    50: '#ab90fe',
    500: '#7b62fb',
    950: '#000000',
  },
}
SCSS
$custom: #7b62fb;
$custom-light: #ab90fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7b62fb",
  "rgb": {
    "r": 123,
    "g": 98,
    "b": 251
  },
  "hsl": {
    "h": 249.804,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.6042,
    "c": 0.21791,
    "h": 285.3
  },
  "luminance": 0.19911
}

Semantic roles & 50–950 ramp

primary
#7B62FB
secondary
#ECF3C5
accent
#E600C0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7B62FB

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

Preview Lab → · Contrast checker → · Palette generator →

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