#7B62EA#7B62EA

#7B62EA is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.2% C 0.197 H 287.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7B62EA
RGBrgb(123, 98, 234)
HSLhsl(251, 76%, 65%)
HSVhsv(251, 58%, 92%)
CMYKcmyk(47.4%, 58.1%, 0%, 8.2%)
CIE-LABlab(50.55, 43.36, -65.75)
CIE-LCHlch(50.55, 78.76, 303.41°)
OKLaboklab(59.18% 0.0583 -0.1879)
OKLCHoklch(59.18% 0.197 287.2)
XYZxyz(27.3830, 18.8856, 80.0284)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B62EA #D1EA62
analogous
#628DEA #7B62EA #BF62EA
triadic
#7B62EA #EA7B62 #62EA7B
tetradic
#7B62EA #EA628D #D1EA62 #62EABF
square
#7B62EA #EA628D #D1EA62 #62EABF
split-complementary
#7B62EA #EABF62 #8DEA62
monochromatic
#3619B9 #4E2CE3 #7B62EA #A898F1 #D6CEF8

Accessibility & contrast

On white

4.40
#7B62EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#7B62EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B62EA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B62EA#FFFFFF#000000##000000
##7B62EA1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEE
Deuteranopia (green-blind)
#0075E7
Tritanopia (blue-blind)
#56819D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7b62ea;
/* rgb */ color: rgb(123, 98, 234);
/* oklch */ color: oklch(59.2% 0.197 287.2);
Tailwind
colors: {
  custom: {
    50: '#a98ff2',
    500: '#7b62ea',
    950: '#000000',
  },
}
SCSS
$custom: #7b62ea;
$custom-light: #a98ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b62ea",
  "rgb": {
    "r": 123,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 251.029,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59181,
    "c": 0.19673,
    "h": 287.2
  },
  "luminance": 0.18887
}

Semantic roles & 50–950 ramp

primary
#7B62EA
secondary
#E2EBBD
accent
#D90DB3
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7B62EA

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

Preview Lab → · Contrast checker → · Palette generator →

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