#7A62FB#7A62FB

#7A62FB is a mid, highly saturated blue. Relative luminance 0.198; OKLCH L 60.3% C 0.218 H 285.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7A62FB
RGBrgb(122, 98, 251)
HSLhsl(249, 95%, 68%)
HSVhsv(249, 61%, 98%)
CMYKcmyk(51.4%, 61%, 0%, 1.6%)
CIE-LABlab(51.65, 48.08, -73.46)
CIE-LCHlch(51.65, 87.80, 303.20°)
OKLaboklab(60.34% 0.0563 -0.2106)
OKLCHoklch(60.34% 0.218 285)
XYZxyz(29.8011, 19.8364, 93.5066)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A62FB #E3FB62
analogous
#6296FB #7A62FB #C662FB
triadic
#7A62FB #FB7A62 #62FB7A
tetradic
#7A62FB #FB6296 #E3FB62 #62FBC6
square
#7A62FB #FB6296 #E3FB62 #62FBC6
split-complementary
#7A62FB #FBC662 #96FB62
monochromatic
#2706DD #4726F9 #7A62FB #AD9EFD #DFD9FE

Accessibility & contrast

On white

4.23
#7A62FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#7A62FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A62FB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A62FB#FFFFFF#000000##000000
##7A62FB1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0076F8
Tritanopia (blue-blind)
#4787A5
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7a62fb;
/* rgb */ color: rgb(122, 98, 251);
/* oklch */ color: oklch(60.3% 0.218 285.0);
Tailwind
colors: {
  custom: {
    50: '#aa90fe',
    500: '#7a62fb',
    950: '#000000',
  },
}
SCSS
$custom: #7a62fb;
$custom-light: #aa90fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7a62fb",
  "rgb": {
    "r": 122,
    "g": 98,
    "b": 251
  },
  "hsl": {
    "h": 249.412,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.60339,
    "c": 0.21801,
    "h": 285
  },
  "luminance": 0.19838
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A62FB

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

Preview Lab → · Contrast checker → · Palette generator →

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