#7B62DC#7B62DC

#7B62DC is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.2% C 0.179 H 289.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7B62DC
RGBrgb(123, 98, 220)
HSLhsl(252, 64%, 62%)
HSVhsv(252, 55%, 86%)
CMYKcmyk(44.1%, 55.5%, 0%, 13.7%)
CIE-LABlab(49.63, 39.37, -59.33)
CIE-LCHlch(49.63, 71.21, 303.57°)
OKLaboklab(58.21% 0.0584 -0.169)
OKLCHoklch(58.21% 0.179 289.1)
XYZxyz(25.4507, 18.1127, 69.8514)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B62DC #C3DC62
analogous
#6286DC #7B62DC #B862DC
triadic
#7B62DC #DC7B62 #62DC7B
tetradic
#7B62DC #DC6286 #C3DC62 #62DCB8
square
#7B62DC #DC6286 #C3DC62 #62DCB8
split-complementary
#7B62DC #DCB862 #86DC62
monochromatic
#3D24A0 #5130D1 #7B62DC #A594E7 #CFC6F2

Accessibility & contrast

On white

4.54
#7B62DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#7B62DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B62DC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B62DC#FFFFFF#000000##000000
##7B62DC1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D79E0
Deuteranopia (green-blind)
#2073D9
Tritanopia (blue-blind)
#5E7D96
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b62dc;
/* rgb */ color: rgb(123, 98, 220);
/* oklch */ color: oklch(58.2% 0.179 289.1);
Tailwind
colors: {
  custom: {
    50: '#a78fe8',
    500: '#7b62dc',
    950: '#000000',
  },
}
SCSS
$custom: #7b62dc;
$custom-light: #a78fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b62dc",
  "rgb": {
    "r": 123,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 252.295,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58209,
    "c": 0.17882,
    "h": 289.1
  },
  "luminance": 0.18114
}

Semantic roles & 50–950 ramp

primary
#7B62DC
secondary
#DAE3B7
accent
#CB1AA7
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7B62DC

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

Preview Lab → · Contrast checker → · Palette generator →

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