#7B62FE#7B62FE

#7B62FE is a mid, highly saturated blue. Relative luminance 0.201; OKLCH L 60.6% C 0.222 H 285.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7B62FE
RGBrgb(123, 98, 254)
HSLhsl(250, 99%, 69%)
HSVhsv(250, 61%, 100%)
CMYKcmyk(51.6%, 61.4%, 0%, 0.4%)
CIE-LABlab(51.95, 49.12, -74.64)
CIE-LCHlch(51.95, 89.35, 303.35°)
OKLaboklab(60.65% 0.0573 -0.214)
OKLCHoklch(60.65% 0.222 285)
XYZxyz(30.4201, 20.1005, 96.0236)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B62FE #E5FE62
analogous
#6297FE #7B62FE #C962FE
triadic
#7B62FE #FE7B62 #62FE7B
tetradic
#7B62FE #FE6297 #E5FE62 #62FEC9
square
#7B62FE #FE6297 #E5FE62 #62FEC9
split-complementary
#7B62FE #FEC962 #97FE62
monochromatic
#2601E4 #4825FE #7B62FE #AE9FFE #E1DCFF

Accessibility & contrast

On white

4.18
#7B62FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#7B62FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B62FE
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B62FE#FFFFFF#000000##000000
##7B62FE1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#0077FB
Tritanopia (blue-blind)
#4688A7
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7b62fe;
/* rgb */ color: rgb(123, 98, 254);
/* oklch */ color: oklch(60.6% 0.222 285.0);
Tailwind
colors: {
  custom: {
    50: '#ab90ff',
    500: '#7b62fe',
    950: '#000000',
  },
}
SCSS
$custom: #7b62fe;
$custom-light: #ab90ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7b62fe",
  "rgb": {
    "r": 123,
    "g": 98,
    "b": 254
  },
  "hsl": {
    "h": 249.615,
    "s": 98.734,
    "l": 69.02
  },
  "oklch": {
    "l": 0.60645,
    "c": 0.22159,
    "h": 285
  },
  "luminance": 0.20102
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B62FE

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

Preview Lab → · Contrast checker → · Palette generator →

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