#7E62BB#7E62BB

#7E62BB is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.4% C 0.135 H 296.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7E62BB
RGBrgb(126, 98, 187)
HSLhsl(259, 40%, 56%)
HSVhsv(259, 48%, 73%)
CMYKcmyk(32.6%, 47.6%, 0%, 26.7%)
CIE-LABlab(47.95, 31.05, -43.09)
CIE-LCHlch(47.95, 53.11, 305.78°)
OKLaboklab(56.4% 0.06 -0.1213)
OKLCHoklch(56.4% 0.135 296.3)
XYZxyz(21.9393, 16.7585, 49.0829)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E62BB #9FBB62
analogous
#6272BB #7E62BB #AA62BB
triadic
#7E62BB #BB7E62 #62BB7E
tetradic
#7E62BB #BB6272 #9FBB62 #62BBAA
square
#7E62BB #BB6272 #9FBB62 #62BBAA
split-complementary
#7E62BB #BBAA62 #72BB62
monochromatic
#453171 #5F449C #7E62BB #A18DCD #C4B7E0

Accessibility & contrast

On white

4.83
#7E62BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#7E62BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E62BB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E62BB#FFFFFF#000000##FFFFFF
##7E62BB1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4472BE
Deuteranopia (green-blind)
#4A71B9
Tritanopia (blue-blind)
#717385
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7e62bb;
/* rgb */ color: rgb(126, 98, 187);
/* oklch */ color: oklch(56.4% 0.135 296.3);
Tailwind
colors: {
  custom: {
    50: '#a68fd0',
    500: '#7e62bb',
    950: '#000000',
  },
}
SCSS
$custom: #7e62bb;
$custom-light: #a68fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e62bb",
  "rgb": {
    "r": 126,
    "g": 98,
    "b": 187
  },
  "hsl": {
    "h": 258.876,
    "s": 39.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56396,
    "c": 0.1353,
    "h": 296.3
  },
  "luminance": 0.16759
}

Semantic roles & 50–950 ramp

primary
#7E62BB
secondary
#C3CFAA
accent
#CF58AA
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #7E62BB

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

Preview Lab → · Contrast checker → · Palette generator →

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