#7B62CD#7B62CD

#7B62CD is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.2% C 0.159 H 291.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7B62CD
RGBrgb(123, 98, 205)
HSLhsl(254, 52%, 59%)
HSVhsv(254, 52%, 80%)
CMYKcmyk(40%, 52.2%, 0%, 19.6%)
CIE-LABlab(48.70, 35.16, -52.28)
CIE-LCHlch(48.70, 63.01, 303.93°)
OKLaboklab(57.22% 0.0578 -0.1483)
OKLCHoklch(57.22% 0.159 291.3)
XYZxyz(23.5525, 17.3534, 59.8544)
Luminance0.1735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B62CD #B4CD62
analogous
#627FCD #7B62CD #B162CD
triadic
#7B62CD #CD7B62 #62CD7B
tetradic
#7B62CD #CD627F #B4CD62 #62CDB1
square
#7B62CD #CD627F #B4CD62 #62CDB1
split-complementary
#7B62CD #CDB162 #7FCD62
monochromatic
#412C89 #583AB7 #7B62CD #A290DC #C9BFEB

Accessibility & contrast

On white

4.70
#7B62CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#7B62CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B62CD
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B62CD#FFFFFF#000000##FFFFFF
##7B62CD1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3375D1
Deuteranopia (green-blind)
#3771CB
Tritanopia (blue-blind)
#65788E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7b62cd;
/* rgb */ color: rgb(123, 98, 205);
/* oklch */ color: oklch(57.2% 0.159 291.3);
Tailwind
colors: {
  custom: {
    50: '#a68fdd',
    500: '#7b62cd',
    950: '#000000',
  },
}
SCSS
$custom: #7b62cd;
$custom-light: #a68fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b62cd",
  "rgb": {
    "r": 123,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 254.019,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5722,
    "c": 0.15918,
    "h": 291.3
  },
  "luminance": 0.17354
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B62CD

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

Preview Lab → · Contrast checker → · Palette generator →

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