#7E62CA#7E62CA

#7E62CA is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.3% C 0.155 H 293.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7E62CA
RGBrgb(126, 98, 202)
HSLhsl(256, 50%, 59%)
HSVhsv(256, 51%, 79%)
CMYKcmyk(37.6%, 51.5%, 0%, 20.8%)
CIE-LABlab(48.80, 35.07, -50.38)
CIE-LCHlch(48.80, 61.39, 304.84°)
OKLaboklab(57.3% 0.0614 -0.1427)
OKLCHoklch(57.3% 0.155 293.3)
XYZxyz(23.6297, 17.4347, 57.9859)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E62CA #AECA62
analogous
#627ACA #7E62CA #B262CA
triadic
#7E62CA #CA7E62 #62CA7E
tetradic
#7E62CA #CA627A #AECA62 #62CAB2
square
#7E62CA #CA627A #AECA62 #62CAB2
split-complementary
#7E62CA #CAB262 #7ACA62
monochromatic
#452D85 #5C3CB3 #7E62CA #A490D9 #C9BEE9

Accessibility & contrast

On white

4.68
#7E62CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#7E62CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E62CA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E62CA#FFFFFF#000000##FFFFFF
##7E62CA1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3875CE
Deuteranopia (green-blind)
#3D72C8
Tritanopia (blue-blind)
#6B778D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e62ca;
/* rgb */ color: rgb(126, 98, 202);
/* oklch */ color: oklch(57.3% 0.155 293.3);
Tailwind
colors: {
  custom: {
    50: '#a78fdb',
    500: '#7e62ca',
    950: '#000000',
  },
}
SCSS
$custom: #7e62ca;
$custom-light: #a78fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e62ca",
  "rgb": {
    "r": 126,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 256.154,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57305,
    "c": 0.15531,
    "h": 293.3
  },
  "luminance": 0.17435
}

Semantic roles & 50–950 ramp

primary
#7E62CA
secondary
#CDD8AF
accent
#D94FB4
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7E62CA

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

Preview Lab → · Contrast checker → · Palette generator →

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