#7E62BF#7E62BF

#7E62BF is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.6% C 0.141 H 295.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7E62BF
RGBrgb(126, 98, 191)
HSLhsl(258, 42%, 57%)
HSVhsv(258, 49%, 75%)
CMYKcmyk(34%, 48.7%, 0%, 25.1%)
CIE-LABlab(48.17, 32.11, -45.05)
CIE-LCHlch(48.17, 55.32, 305.48°)
OKLaboklab(56.63% 0.0604 -0.127)
OKLCHoklch(56.63% 0.141 295.4)
XYZxyz(22.3735, 16.9322, 51.3696)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E62BF #A3BF62
analogous
#6275BF #7E62BF #AD62BF
triadic
#7E62BF #BF7E62 #62BF7E
tetradic
#7E62BF #BF6275 #A3BF62 #62BFAD
square
#7E62BF #BF6275 #A3BF62 #62BFAD
split-complementary
#7E62BF #BFAD62 #75BF62
monochromatic
#453076 #5F42A2 #7E62BF #A28DD1 #C5B9E2

Accessibility & contrast

On white

4.79
#7E62BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#7E62BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E62BF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E62BF#FFFFFF#000000##FFFFFF
##7E62BF1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4173C2
Deuteranopia (green-blind)
#4771BD
Tritanopia (blue-blind)
#6F7487
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7e62bf;
/* rgb */ color: rgb(126, 98, 191);
/* oklch */ color: oklch(56.6% 0.141 295.4);
Tailwind
colors: {
  custom: {
    50: '#a68fd3',
    500: '#7e62bf',
    950: '#000000',
  },
}
SCSS
$custom: #7e62bf;
$custom-light: #a68fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e62bf",
  "rgb": {
    "r": 126,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 258.065,
    "s": 42.081,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56632,
    "c": 0.14068,
    "h": 295.4
  },
  "luminance": 0.16933
}

Semantic roles & 50–950 ramp

primary
#7E62BF
secondary
#C6D1AB
accent
#D256AD
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #7E62BF

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

Preview Lab → · Contrast checker → · Palette generator →

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