#7B62EC#7B62EC

#7B62EC is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.3% C 0.199 H 287.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7B62EC
RGBrgb(123, 98, 236)
HSLhsl(251, 78%, 65%)
HSVhsv(251, 58%, 93%)
CMYKcmyk(47.9%, 58.5%, 0%, 7.5%)
CIE-LABlab(50.69, 43.94, -66.65)
CIE-LCHlch(50.69, 79.83, 303.39°)
OKLaboklab(59.32% 0.0583 -0.1905)
OKLCHoklch(59.32% 0.199 287)
XYZxyz(27.6720, 19.0012, 81.5502)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B62EC #D3EC62
analogous
#628EEC #7B62EC #C062EC
triadic
#7B62EC #EC7B62 #62EC7B
tetradic
#7B62EC #EC628E #D3EC62 #62ECC0
square
#7B62EC #EC628E #D3EC62 #62ECC0
split-complementary
#7B62EC #ECC062 #8EEC62
monochromatic
#3517BD #4D2BE5 #7B62EC #A999F3 #D7CFF9

Accessibility & contrast

On white

4.37
#7B62EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#7B62EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B62EC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B62EC#FFFFFF#000000##000000
##7B62EC1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF1
Deuteranopia (green-blind)
#0075E9
Tritanopia (blue-blind)
#54829E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7b62ec;
/* rgb */ color: rgb(123, 98, 236);
/* oklch */ color: oklch(59.3% 0.199 287.0);
Tailwind
colors: {
  custom: {
    50: '#a98ff3',
    500: '#7b62ec',
    950: '#000000',
  },
}
SCSS
$custom: #7b62ec;
$custom-light: #a98ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b62ec",
  "rgb": {
    "r": 123,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 250.87,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59324,
    "c": 0.19925,
    "h": 287
  },
  "luminance": 0.19002
}

Semantic roles & 50–950 ramp

primary
#7B62EC
secondary
#E4ECBE
accent
#DB0BB5
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B62EC

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

Preview Lab → · Contrast checker → · Palette generator →

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