#7C62DF#7C62DF

#7C62DF is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.5% C 0.183 H 289.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7C62DF
RGBrgb(124, 98, 223)
HSLhsl(252, 66%, 63%)
HSVhsv(252, 56%, 87%)
CMYKcmyk(44.4%, 56.1%, 0%, 12.5%)
CIE-LABlab(49.91, 40.44, -60.57)
CIE-LCHlch(49.91, 72.83, 303.73°)
OKLaboklab(58.5% 0.0597 -0.1726)
OKLCHoklch(58.5% 0.183 289.1)
XYZxyz(25.9954, 18.3472, 71.9694)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C62DF #C5DF62
analogous
#6286DF #7C62DF #BA62DF
triadic
#7C62DF #DF7C62 #62DF7C
tetradic
#7C62DF #DF6286 #C5DF62 #62DFBA
square
#7C62DF #DF6286 #C5DF62 #62DFBA
split-complementary
#7C62DF #DFBA62 #86DF62
monochromatic
#3D22A5 #522FD5 #7C62DF #A695E9 #D1C8F4

Accessibility & contrast

On white

4.50
#7C62DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#7C62DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C62DF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C62DF#FFFFFF#000000##000000
##7C62DF1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1679E3
Deuteranopia (green-blind)
#1B74DC
Tritanopia (blue-blind)
#5E7D97
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7c62df;
/* rgb */ color: rgb(124, 98, 223);
/* oklch */ color: oklch(58.5% 0.183 289.1);
Tailwind
colors: {
  custom: {
    50: '#a88fea',
    500: '#7c62df',
    950: '#000000',
  },
}
SCSS
$custom: #7c62df;
$custom-light: #a88fea;
$custom-dark: #000000;
JSON
{
  "hex": "#7c62df",
  "rgb": {
    "r": 124,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 252.48,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.58501,
    "c": 0.18266,
    "h": 289.1
  },
  "luminance": 0.18348
}

Semantic roles & 50–950 ramp

primary
#7C62DF
secondary
#DCE5B8
accent
#CE17A8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7C62DF

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

Preview Lab → · Contrast checker → · Palette generator →

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