#7B62DF#7B62DF

#7B62DF is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.4% C 0.183 H 288.6°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7B62DF
RGBrgb(123, 98, 223)
HSLhsl(252, 66%, 63%)
HSVhsv(252, 56%, 87%)
CMYKcmyk(44.8%, 56.1%, 0%, 12.5%)
CIE-LABlab(49.83, 40.23, -60.72)
CIE-LCHlch(49.83, 72.84, 303.52°)
OKLaboklab(58.41% 0.0584 -0.1731)
OKLCHoklch(58.41% 0.183 288.6)
XYZxyz(25.8516, 18.2730, 71.9627)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B62DF #C6DF62
analogous
#6287DF #7B62DF #B962DF
triadic
#7B62DF #DF7B62 #62DF7B
tetradic
#7B62DF #DF6287 #C6DF62 #62DFB9
square
#7B62DF #DF6287 #C6DF62 #62DFB9
split-complementary
#7B62DF #DFB962 #87DF62
monochromatic
#3C22A5 #502FD5 #7B62DF #A695E9 #D0C8F4

Accessibility & contrast

On white

4.51
#7B62DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#7B62DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B62DF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B62DF#FFFFFF#000000##000000
##7B62DF1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1579E3
Deuteranopia (green-blind)
#1973DC
Tritanopia (blue-blind)
#5C7E97
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b62df;
/* rgb */ color: rgb(123, 98, 223);
/* oklch */ color: oklch(58.4% 0.183 288.6);
Tailwind
colors: {
  custom: {
    50: '#a78fea',
    500: '#7b62df',
    950: '#000000',
  },
}
SCSS
$custom: #7b62df;
$custom-light: #a78fea;
$custom-dark: #000000;
JSON
{
  "hex": "#7b62df",
  "rgb": {
    "r": 123,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 252,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.58413,
    "c": 0.1827,
    "h": 288.6
  },
  "luminance": 0.18274
}

Semantic roles & 50–950 ramp

primary
#7B62DF
secondary
#DCE5B8
accent
#CE17AA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7B62DF

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

Preview Lab → · Contrast checker → · Palette generator →

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