#7B62F8#7B62F8

#7B62F8 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.2% C 0.214 H 285.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7B62F8
RGBrgb(123, 98, 248)
HSLhsl(250, 91%, 68%)
HSVhsv(250, 60%, 97%)
CMYKcmyk(50.4%, 60.5%, 0%, 2.7%)
CIE-LABlab(51.52, 47.39, -72.00)
CIE-LCHlch(51.52, 86.20, 303.35°)
OKLaboklab(60.2% 0.0577 -0.2063)
OKLCHoklch(60.2% 0.214 285.6)
XYZxyz(29.4743, 19.7221, 91.0424)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B62F8 #DFF862
analogous
#6294F8 #7B62F8 #C662F8
triadic
#7B62F8 #F87B62 #62F87B
tetradic
#7B62F8 #F86294 #DFF862 #62F8C6
square
#7B62F8 #F86294 #DFF862 #62F8C6
split-complementary
#7B62F8 #F8C662 #94F862
monochromatic
#2C0AD6 #4A27F5 #7B62F8 #AC9DFB #DED7FD

Accessibility & contrast

On white

4.25
#7B62F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#7B62F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B62F8
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B62F8#FFFFFF#000000##000000
##7B62F81.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFD
Deuteranopia (green-blind)
#0076F5
Tritanopia (blue-blind)
#4C86A4
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7b62f8;
/* rgb */ color: rgb(123, 98, 248);
/* oklch */ color: oklch(60.2% 0.214 285.6);
Tailwind
colors: {
  custom: {
    50: '#aa90fb',
    500: '#7b62f8',
    950: '#000000',
  },
}
SCSS
$custom: #7b62f8;
$custom-light: #aa90fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b62f8",
  "rgb": {
    "r": 123,
    "g": 98,
    "b": 248
  },
  "hsl": {
    "h": 250,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.60197,
    "c": 0.21421,
    "h": 285.6
  },
  "luminance": 0.19724
}

Semantic roles & 50–950 ramp

primary
#7B62F8
secondary
#EAF2C4
accent
#E600BF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7B62F8

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

Preview Lab → · Contrast checker → · Palette generator →

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