#7D62FB#7D62FB

#7D62FB is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.6% C 0.218 H 286.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7D62FB
RGBrgb(125, 98, 251)
HSLhsl(251, 95%, 68%)
HSVhsv(251, 61%, 98%)
CMYKcmyk(50.2%, 61%, 0%, 1.6%)
CIE-LABlab(51.90, 48.62, -73.04)
CIE-LCHlch(51.90, 87.75, 303.65°)
OKLaboklab(60.59% 0.0601 -0.2093)
OKLCHoklch(60.59% 0.218 286)
XYZxyz(30.2326, 20.0589, 93.5268)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D62FB #E0FB62
analogous
#6293FB #7D62FB #C962FB
triadic
#7D62FB #FB7D62 #62FB7D
tetradic
#7D62FB #FB6293 #E0FB62 #62FBC9
square
#7D62FB #FB6293 #E0FB62 #62FBC9
split-complementary
#7D62FB #FBC962 #93FB62
monochromatic
#2C06DD #4C26F9 #7D62FB #AE9EFD #E0D9FE

Accessibility & contrast

On white

4.19
#7D62FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#7D62FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D62FB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D62FB#FFFFFF#000000##000000
##7D62FB1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#0077F8
Tritanopia (blue-blind)
#4E86A5
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7d62fb;
/* rgb */ color: rgb(125, 98, 251);
/* oklch */ color: oklch(60.6% 0.218 286.0);
Tailwind
colors: {
  custom: {
    50: '#ac90fe',
    500: '#7d62fb',
    950: '#000000',
  },
}
SCSS
$custom: #7d62fb;
$custom-light: #ac90fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7d62fb",
  "rgb": {
    "r": 125,
    "g": 98,
    "b": 251
  },
  "hsl": {
    "h": 250.588,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.60585,
    "c": 0.21774,
    "h": 286
  },
  "luminance": 0.2006
}

Semantic roles & 50–950 ramp

primary
#7D62FB
secondary
#EBF3C5
accent
#E600BD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7D62FB

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

Preview Lab → · Contrast checker → · Palette generator →

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