#7B62ED#7B62ED

#7B62ED is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.4% C 0.201 H 286.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7B62ED
RGBrgb(123, 98, 237)
HSLhsl(251, 79%, 66%)
HSVhsv(251, 59%, 93%)
CMYKcmyk(48.1%, 58.6%, 0%, 7.1%)
CIE-LABlab(50.76, 44.22, -67.10)
CIE-LCHlch(50.76, 80.36, 303.39°)
OKLaboklab(59.4% 0.0582 -0.1919)
OKLCHoklch(59.4% 0.201 286.9)
XYZxyz(27.8177, 19.0595, 82.3175)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B62ED #D4ED62
analogous
#628EED #7B62ED #C062ED
triadic
#7B62ED #ED7B62 #62ED7B
tetradic
#7B62ED #ED628E #D4ED62 #62EDC0
square
#7B62ED #ED628E #D4ED62 #62EDC0
split-complementary
#7B62ED #EDC062 #8EED62
monochromatic
#3416BF #4D2BE7 #7B62ED #A999F3 #D7D0FA

Accessibility & contrast

On white

4.36
#7B62ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#7B62ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B62ED
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B62ED#FFFFFF#000000##000000
##7B62ED1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b62ed;
/* rgb */ color: rgb(123, 98, 237);
/* oklch */ color: oklch(59.4% 0.201 286.9);
Tailwind
colors: {
  custom: {
    50: '#a98ff4',
    500: '#7b62ed',
    950: '#000000',
  },
}
SCSS
$custom: #7b62ed;
$custom-light: #a98ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b62ed",
  "rgb": {
    "r": 123,
    "g": 98,
    "b": 237
  },
  "hsl": {
    "h": 250.791,
    "s": 79.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59395,
    "c": 0.20051,
    "h": 286.9
  },
  "luminance": 0.19061
}

Semantic roles & 50–950 ramp

primary
#7B62ED
secondary
#E4EDBE
accent
#DC0AB6
background
#FAF8FF
surface
#F5F0FE
border
#CFCBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B62ED

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

Preview Lab → · Contrast checker → · Palette generator →

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