#7C62FB#7C62FB

#7C62FB is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.5% C 0.218 H 285.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7C62FB
RGBrgb(124, 98, 251)
HSLhsl(250, 95%, 68%)
HSVhsv(250, 61%, 98%)
CMYKcmyk(50.6%, 61%, 0%, 1.6%)
CIE-LABlab(51.82, 48.44, -73.18)
CIE-LCHlch(51.82, 87.76, 303.50°)
OKLaboklab(60.5% 0.0588 -0.2097)
OKLCHoklch(60.5% 0.218 285.7)
XYZxyz(30.0873, 19.9840, 93.5200)
Luminance0.1998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C62FB #E1FB62
analogous
#6294FB #7C62FB #C862FB
triadic
#7C62FB #FB7C62 #62FB7C
tetradic
#7C62FB #FB6294 #E1FB62 #62FBC8
square
#7C62FB #FB6294 #E1FB62 #62FBC8
split-complementary
#7C62FB #FBC862 #94FB62
monochromatic
#2A06DD #4A26F9 #7C62FB #AE9EFD #E0D9FE

Accessibility & contrast

On white

4.20
#7C62FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#7C62FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C62FB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C62FB#FFFFFF#000000##000000
##7C62FB1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#0077F8
Tritanopia (blue-blind)
#4B86A5
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7c62fb;
/* rgb */ color: rgb(124, 98, 251);
/* oklch */ color: oklch(60.5% 0.218 285.7);
Tailwind
colors: {
  custom: {
    50: '#ab90fe',
    500: '#7c62fb',
    950: '#000000',
  },
}
SCSS
$custom: #7c62fb;
$custom-light: #ab90fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7c62fb",
  "rgb": {
    "r": 124,
    "g": 98,
    "b": 251
  },
  "hsl": {
    "h": 250.196,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.60502,
    "c": 0.21783,
    "h": 285.7
  },
  "luminance": 0.19985
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C62FB

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

Preview Lab → · Contrast checker → · Palette generator →

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