#7F62DA#7F62DA

#7F62DA is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.4% C 0.176 H 291.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7F62DA
RGBrgb(127, 98, 218)
HSLhsl(255, 62%, 62%)
HSVhsv(255, 55%, 85%)
CMYKcmyk(41.7%, 55%, 0%, 14.5%)
CIE-LABlab(49.87, 39.71, -57.80)
CIE-LCHlch(49.87, 70.12, 304.49°)
OKLaboklab(58.43% 0.0634 -0.1644)
OKLCHoklch(58.43% 0.176 291.1)
XYZxyz(25.7715, 18.3086, 68.4921)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F62DA #BDDA62
analogous
#6281DA #7F62DA #BB62DA
triadic
#7F62DA #DA7F62 #62DA7F
tetradic
#7F62DA #DA6281 #BDDA62 #62DABB
square
#7F62DA #DA6281 #BDDA62 #62DABB
split-complementary
#7F62DA #DABB62 #81DA62
monochromatic
#42259D #5731CE #7F62DA #A794E6 #D0C5F1

Accessibility & contrast

On white

4.50
#7F62DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#7F62DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F62DA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F62DA#FFFFFF#000000##000000
##7F62DA1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2479DE
Deuteranopia (green-blind)
#2A74D7
Tritanopia (blue-blind)
#667C95
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7f62da;
/* rgb */ color: rgb(127, 98, 218);
/* oklch */ color: oklch(58.4% 0.176 291.1);
Tailwind
colors: {
  custom: {
    50: '#a98fe6',
    500: '#7f62da',
    950: '#000000',
  },
}
SCSS
$custom: #7f62da;
$custom-light: #a98fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f62da",
  "rgb": {
    "r": 127,
    "g": 98,
    "b": 218
  },
  "hsl": {
    "h": 254.5,
    "s": 61.856,
    "l": 61.961
  },
  "oklch": {
    "l": 0.5843,
    "c": 0.17619,
    "h": 291.1
  },
  "luminance": 0.18309
}

Semantic roles & 50–950 ramp

primary
#7F62DA
secondary
#D7E2B6
accent
#CA1CA0
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7F62DA

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

Preview Lab → · Contrast checker → · Palette generator →

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