#7B62DA#7B62DA

#7B62DA is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.1% C 0.176 H 289.3°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7B62DA
RGBrgb(123, 98, 218)
HSLhsl(253, 62%, 62%)
HSVhsv(253, 55%, 85%)
CMYKcmyk(43.6%, 55%, 0%, 14.5%)
CIE-LABlab(49.51, 38.81, -58.40)
CIE-LCHlch(49.51, 70.12, 303.60°)
OKLaboklab(58.07% 0.0583 -0.1663)
OKLCHoklch(58.07% 0.176 289.3)
XYZxyz(25.1874, 18.0074, 68.4647)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B62DA #C1DA62
analogous
#6285DA #7B62DA #B762DA
triadic
#7B62DA #DA7B62 #62DA7B
tetradic
#7B62DA #DA6285 #C1DA62 #62DAB7
square
#7B62DA #DA6285 #C1DA62 #62DAB7
split-complementary
#7B62DA #DAB762 #85DA62
monochromatic
#3E259D #5131CE #7B62DA #A594E6 #CEC5F1

Accessibility & contrast

On white

4.56
#7B62DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#7B62DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B62DA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B62DA#FFFFFF#000000##000000
##7B62DA1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2178DE
Deuteranopia (green-blind)
#2473D7
Tritanopia (blue-blind)
#5F7C95
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b62da;
/* rgb */ color: rgb(123, 98, 218);
/* oklch */ color: oklch(58.1% 0.176 289.3);
Tailwind
colors: {
  custom: {
    50: '#a78fe6',
    500: '#7b62da',
    950: '#000000',
  },
}
SCSS
$custom: #7b62da;
$custom-light: #a78fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b62da",
  "rgb": {
    "r": 123,
    "g": 98,
    "b": 218
  },
  "hsl": {
    "h": 252.5,
    "s": 61.856,
    "l": 61.961
  },
  "oklch": {
    "l": 0.58074,
    "c": 0.17623,
    "h": 289.3
  },
  "luminance": 0.18008
}

Semantic roles & 50–950 ramp

primary
#7B62DA
secondary
#D9E2B6
accent
#CA1CA5
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7B62DA

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

Preview Lab → · Contrast checker → · Palette generator →

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