#7C62F2#7C62F2

#7C62F2 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 59.8% C 0.207 H 286.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7C62F2
RGBrgb(124, 98, 242)
HSLhsl(251, 85%, 67%)
HSVhsv(251, 60%, 95%)
CMYKcmyk(48.8%, 59.5%, 0%, 5.1%)
CIE-LABlab(51.19, 45.85, -69.20)
CIE-LCHlch(51.19, 83.01, 303.53°)
OKLaboklab(59.84% 0.0593 -0.198)
OKLCHoklch(59.84% 0.207 286.7)
XYZxyz(28.7022, 19.4299, 86.2252)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C62F2 #D8F262
analogous
#6290F2 #7C62F2 #C462F2
triadic
#7C62F2 #F27C62 #62F27C
tetradic
#7C62F2 #F26290 #D8F262 #62F2C4
square
#7C62F2 #F26290 #D8F262 #62F2C4
split-complementary
#7C62F2 #F2C462 #90F262
monochromatic
#3211C9 #4D29ED #7C62F2 #AB9BF7 #DAD3FB

Accessibility & contrast

On white

4.30
#7C62F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#7C62F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C62F2
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C62F2#FFFFFF#000000##000000
##7C62F21.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF7
Deuteranopia (green-blind)
#0076EF
Tritanopia (blue-blind)
#5284A1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7c62f2;
/* rgb */ color: rgb(124, 98, 242);
/* oklch */ color: oklch(59.8% 0.207 286.7);
Tailwind
colors: {
  custom: {
    50: '#aa90f7',
    500: '#7c62f2',
    950: '#000000',
  },
}
SCSS
$custom: #7c62f2;
$custom-light: #aa90f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c62f2",
  "rgb": {
    "r": 124,
    "g": 98,
    "b": 242
  },
  "hsl": {
    "h": 250.833,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.5984,
    "c": 0.2067,
    "h": 286.7
  },
  "luminance": 0.19431
}

Semantic roles & 50–950 ramp

primary
#7C62F2
secondary
#E7EFC1
accent
#E104B9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7C62F2

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

Preview Lab → · Contrast checker → · Palette generator →

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