#7F62F0#7F62F0

#7F62F0 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.0% C 0.204 H 288.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7F62F0
RGBrgb(127, 98, 240)
HSLhsl(252, 83%, 66%)
HSVhsv(252, 59%, 94%)
CMYKcmyk(47.1%, 59.2%, 0%, 5.9%)
CIE-LABlab(51.31, 45.87, -67.87)
CIE-LCHlch(51.31, 81.91, 304.06°)
OKLaboklab(59.95% 0.0632 -0.194)
OKLCHoklch(59.95% 0.204 288)
XYZxyz(28.8437, 19.5374, 84.6725)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F62F0 #D3F062
analogous
#628CF0 #7F62F0 #C662F0
triadic
#7F62F0 #F07F62 #62F07F
tetradic
#7F62F0 #F0628C #D3F062 #62F0C6
square
#7F62F0 #F0628C #D3F062 #62F0C6
split-complementary
#7F62F0 #F0C662 #8CF062
monochromatic
#3713C5 #512AEB #7F62F0 #AD9AF5 #DAD2FB

Accessibility & contrast

On white

4.28
#7F62F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#7F62F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F62F0
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F62F0#FFFFFF#000000##000000
##7F62F01.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF5
Deuteranopia (green-blind)
#0077ED
Tritanopia (blue-blind)
#5A83A0
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7f62f0;
/* rgb */ color: rgb(127, 98, 240);
/* oklch */ color: oklch(60.0% 0.204 288.0);
Tailwind
colors: {
  custom: {
    50: '#ac90f6',
    500: '#7f62f0',
    950: '#000000',
  },
}
SCSS
$custom: #7f62f0;
$custom-light: #ac90f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f62f0",
  "rgb": {
    "r": 127,
    "g": 98,
    "b": 240
  },
  "hsl": {
    "h": 252.254,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.59951,
    "c": 0.20403,
    "h": 288
  },
  "luminance": 0.19539
}

Semantic roles & 50–950 ramp

primary
#7F62F0
secondary
#E5EEC0
accent
#DF07B3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7F62F0

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

Preview Lab → · Contrast checker → · Palette generator →

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