#7E62DF#7E62DF

#7E62DF is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.7% C 0.183 H 289.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7E62DF
RGBrgb(126, 98, 223)
HSLhsl(253, 66%, 63%)
HSVhsv(253, 56%, 87%)
CMYKcmyk(43.5%, 56.1%, 0%, 12.5%)
CIE-LABlab(50.09, 40.88, -60.27)
CIE-LCHlch(50.09, 72.83, 304.14°)
OKLaboklab(58.68% 0.0622 -0.1717)
OKLCHoklch(58.68% 0.183 289.9)
XYZxyz(26.2874, 18.4978, 71.9831)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E62DF #C3DF62
analogous
#6284DF #7E62DF #BC62DF
triadic
#7E62DF #DF7E62 #62DF7E
tetradic
#7E62DF #DF6284 #C3DF62 #62DFBC
square
#7E62DF #DF6284 #C3DF62 #62DFBC
split-complementary
#7E62DF #DFBC62 #84DF62
monochromatic
#3F22A5 #542FD5 #7E62DF #A895E9 #D2C8F4

Accessibility & contrast

On white

4.47
#7E62DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#7E62DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E62DF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E62DF#FFFFFF#000000##000000
##7E62DF1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#187AE3
Deuteranopia (green-blind)
#1F74DC
Tritanopia (blue-blind)
#617D97
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7e62df;
/* rgb */ color: rgb(126, 98, 223);
/* oklch */ color: oklch(58.7% 0.183 289.9);
Tailwind
colors: {
  custom: {
    50: '#a98fea',
    500: '#7e62df',
    950: '#000000',
  },
}
SCSS
$custom: #7e62df;
$custom-light: #a98fea;
$custom-dark: #000000;
JSON
{
  "hex": "#7e62df",
  "rgb": {
    "r": 126,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 253.44,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.58677,
    "c": 0.18263,
    "h": 289.9
  },
  "luminance": 0.18499
}

Semantic roles & 50–950 ramp

primary
#7E62DF
secondary
#DBE5B8
accent
#CE17A5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7E62DF

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

Preview Lab → · Contrast checker → · Palette generator →

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