#7A62DF#7A62DF

#7A62DF is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.3% C 0.183 H 288.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7A62DF
RGBrgb(122, 98, 223)
HSLhsl(252, 66%, 63%)
HSVhsv(252, 56%, 87%)
CMYKcmyk(45.3%, 56.1%, 0%, 12.5%)
CIE-LABlab(49.74, 40.01, -60.87)
CIE-LCHlch(49.74, 72.84, 303.32°)
OKLaboklab(58.33% 0.0571 -0.1736)
OKLCHoklch(58.33% 0.183 288.2)
XYZxyz(25.7092, 18.1996, 71.9560)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A62DF #C7DF62
analogous
#6288DF #7A62DF #B862DF
triadic
#7A62DF #DF7A62 #62DF7A
tetradic
#7A62DF #DF6288 #C7DF62 #62DFB8
square
#7A62DF #DF6288 #C7DF62 #62DFB8
split-complementary
#7A62DF #DFB862 #88DF62
monochromatic
#3B22A5 #4F2FD5 #7A62DF #A595E9 #D0C8F4

Accessibility & contrast

On white

4.53
#7A62DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#7A62DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A62DF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A62DF#FFFFFF#000000##000000
##7A62DF1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1479E3
Deuteranopia (green-blind)
#1773DC
Tritanopia (blue-blind)
#5A7E97
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7a62df;
/* rgb */ color: rgb(122, 98, 223);
/* oklch */ color: oklch(58.3% 0.183 288.2);
Tailwind
colors: {
  custom: {
    50: '#a78fea',
    500: '#7a62df',
    950: '#000000',
  },
}
SCSS
$custom: #7a62df;
$custom-light: #a78fea;
$custom-dark: #000000;
JSON
{
  "hex": "#7a62df",
  "rgb": {
    "r": 122,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 251.52,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.58327,
    "c": 0.18273,
    "h": 288.2
  },
  "luminance": 0.18201
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A62DF

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

Preview Lab → · Contrast checker → · Palette generator →

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