#7A62CD#7A62CD

#7A62CD is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.1% C 0.159 H 290.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7A62CD
RGBrgb(122, 98, 205)
HSLhsl(253, 52%, 59%)
HSVhsv(253, 52%, 80%)
CMYKcmyk(40.5%, 52.2%, 0%, 19.6%)
CIE-LABlab(48.61, 34.92, -52.43)
CIE-LCHlch(48.61, 63.00, 303.67°)
OKLaboklab(57.13% 0.0566 -0.1488)
OKLCHoklch(57.13% 0.159 290.8)
XYZxyz(23.4102, 17.2800, 59.8477)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A62CD #B5CD62
analogous
#6280CD #7A62CD #B062CD
triadic
#7A62CD #CD7A62 #62CD7A
tetradic
#7A62CD #CD6280 #B5CD62 #62CDB0
square
#7A62CD #CD6280 #B5CD62 #62CDB0
split-complementary
#7A62CD #CDB062 #80CD62
monochromatic
#412C89 #563AB7 #7A62CD #A190DC #C9BFEB

Accessibility & contrast

On white

4.71
#7A62CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#7A62CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A62CD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A62CD#FFFFFF#000000##FFFFFF
##7A62CD1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3375D1
Deuteranopia (green-blind)
#3671CB
Tritanopia (blue-blind)
#63788E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7a62cd;
/* rgb */ color: rgb(122, 98, 205);
/* oklch */ color: oklch(57.1% 0.159 290.8);
Tailwind
colors: {
  custom: {
    50: '#a58fdd',
    500: '#7a62cd',
    950: '#000000',
  },
}
SCSS
$custom: #7a62cd;
$custom-light: #a58fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a62cd",
  "rgb": {
    "r": 122,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 253.458,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57131,
    "c": 0.15917,
    "h": 290.8
  },
  "luminance": 0.17281
}

Semantic roles & 50–950 ramp

primary
#7A62CD
secondary
#D1DAB1
accent
#DB4DBB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7A62CD

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

Preview Lab → · Contrast checker → · Palette generator →

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