#7F62FA#7F62FA

#7F62FA is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 60.7% C 0.216 H 286.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7F62FA
RGBrgb(127, 98, 250)
HSLhsl(251, 94%, 68%)
HSVhsv(251, 61%, 98%)
CMYKcmyk(49.2%, 60.8%, 0%, 2%)
CIE-LABlab(52.00, 48.71, -72.32)
CIE-LCHlch(52.00, 87.19, 303.96°)
OKLaboklab(60.68% 0.0627 -0.2071)
OKLCHoklch(60.68% 0.216 286.8)
XYZxyz(30.3703, 20.1481, 92.7127)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F62FA #DDFA62
analogous
#6291FA #7F62FA #CB62FA
triadic
#7F62FA #FA7F62 #62FA7F
tetradic
#7F62FA #FA6291 #DDFA62 #62FACB
square
#7F62FA #FA6291 #DDFA62 #62FACB
split-complementary
#7F62FA #FACB62 #91FA62
monochromatic
#2F07DB #4F27F8 #7F62FA #AF9DFC #E0D9FE

Accessibility & contrast

On white

4.17
#7F62FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#7F62FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F62FA
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F62FA#FFFFFF#000000##000000
##7F62FA1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#0078F7
Tritanopia (blue-blind)
#5386A5
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7f62fa;
/* rgb */ color: rgb(127, 98, 250);
/* oklch */ color: oklch(60.7% 0.216 286.8);
Tailwind
colors: {
  custom: {
    50: '#ad90fd',
    500: '#7f62fa',
    950: '#000000',
  },
}
SCSS
$custom: #7f62fa;
$custom-light: #ad90fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7f62fa",
  "rgb": {
    "r": 127,
    "g": 98,
    "b": 250
  },
  "hsl": {
    "h": 251.447,
    "s": 93.827,
    "l": 68.235
  },
  "oklch": {
    "l": 0.60678,
    "c": 0.21636,
    "h": 286.8
  },
  "luminance": 0.2015
}

Semantic roles & 50–950 ramp

primary
#7F62FA
secondary
#EAF3C5
accent
#E600BA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110D18
muted
#807D86

Preview Lab

Preview with #7F62FA

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

Preview Lab → · Contrast checker → · Palette generator →

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