#7D62DB#7D62DB

#7D62DB is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.3% C 0.177 H 290.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7D62DB
RGBrgb(125, 98, 219)
HSLhsl(253, 63%, 62%)
HSVhsv(253, 55%, 86%)
CMYKcmyk(42.9%, 55.3%, 0%, 14.1%)
CIE-LABlab(49.75, 39.53, -58.57)
CIE-LCHlch(49.75, 70.66, 304.02°)
OKLaboklab(58.32% 0.0609 -0.1667)
OKLCHoklch(58.32% 0.177 290.1)
XYZxyz(25.6077, 18.2090, 69.1695)
Luminance0.1821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D62DB #C0DB62
analogous
#6284DB #7D62DB #B962DB
triadic
#7D62DB #DB7D62 #62DB7D
tetradic
#7D62DB #DB6284 #C0DB62 #62DBB9
square
#7D62DB #DB6284 #C0DB62 #62DBB9
split-complementary
#7D62DB #DBB962 #84DB62
monochromatic
#40249E #5430D0 #7D62DB #A694E6 #CFC6F2

Accessibility & contrast

On white

4.52
#7D62DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#7D62DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D62DB
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D62DB#FFFFFF#000000##000000
##7D62DB1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2079DF
Deuteranopia (green-blind)
#2674D8
Tritanopia (blue-blind)
#627C95
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d62db;
/* rgb */ color: rgb(125, 98, 219);
/* oklch */ color: oklch(58.3% 0.177 290.1);
Tailwind
colors: {
  custom: {
    50: '#a88fe7',
    500: '#7d62db',
    950: '#000000',
  },
}
SCSS
$custom: #7d62db;
$custom-light: #a88fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d62db",
  "rgb": {
    "r": 125,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 253.388,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.58318,
    "c": 0.17749,
    "h": 290.1
  },
  "luminance": 0.1821
}

Semantic roles & 50–950 ramp

primary
#7D62DB
secondary
#D9E3B6
accent
#CA1BA3
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7D62DB

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

Preview Lab → · Contrast checker → · Palette generator →

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