#7A62DD#7A62DD

#7A62DD is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.2% C 0.180 H 288.5°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7A62DD
RGBrgb(122, 98, 221)
HSLhsl(252, 64%, 63%)
HSVhsv(252, 56%, 87%)
CMYKcmyk(44.8%, 55.7%, 0%, 13.3%)
CIE-LABlab(49.61, 39.44, -59.94)
CIE-LCHlch(49.61, 71.75, 303.34°)
OKLaboklab(58.19% 0.0571 -0.1708)
OKLCHoklch(58.19% 0.18 288.5)
XYZxyz(25.4412, 18.0924, 70.5443)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A62DD #C5DD62
analogous
#6288DD #7A62DD #B762DD
triadic
#7A62DD #DD7A62 #62DD7A
tetradic
#7A62DD #DD6288 #C5DD62 #62DDB7
square
#7A62DD #DD6288 #C5DD62 #62DDB7
split-complementary
#7A62DD #DDB762 #88DD62
monochromatic
#3C23A2 #4F30D2 #7A62DD #A594E8 #CFC7F3

Accessibility & contrast

On white

4.55
#7A62DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#7A62DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A62DD
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A62DD#FFFFFF#000000##000000
##7A62DD1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A79E1
Deuteranopia (green-blind)
#1C73DA
Tritanopia (blue-blind)
#5B7D96
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7a62dd;
/* rgb */ color: rgb(122, 98, 221);
/* oklch */ color: oklch(58.2% 0.180 288.5);
Tailwind
colors: {
  custom: {
    50: '#a68fe8',
    500: '#7a62dd',
    950: '#000000',
  },
}
SCSS
$custom: #7a62dd;
$custom-light: #a68fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a62dd",
  "rgb": {
    "r": 122,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 251.707,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.5819,
    "c": 0.18015,
    "h": 288.5
  },
  "luminance": 0.18093
}

Semantic roles & 50–950 ramp

primary
#7A62DD
secondary
#DBE4B7
accent
#CC19A9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7A62DD

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

Preview Lab → · Contrast checker → · Palette generator →

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