#7F62FC#7F62FC

#7F62FC is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 60.8% C 0.219 H 286.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7F62FC
RGBrgb(127, 98, 252)
HSLhsl(251, 96%, 69%)
HSVhsv(251, 61%, 99%)
CMYKcmyk(49.6%, 61.1%, 0%, 1.2%)
CIE-LABlab(52.15, 49.27, -73.20)
CIE-LCHlch(52.15, 88.24, 303.95°)
OKLaboklab(60.83% 0.0625 -0.2097)
OKLCHoklch(60.83% 0.219 286.6)
XYZxyz(30.6856, 20.2742, 94.3730)
Luminance0.2028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F62FC #DFFC62
analogous
#6292FC #7F62FC #CC62FC
triadic
#7F62FC #FC7F62 #62FC7F
tetradic
#7F62FC #FC6292 #DFFC62 #62FCCC
square
#7F62FC #FC6292 #DFFC62 #62FCCC
split-complementary
#7F62FC #FCCC62 #92FC62
monochromatic
#2E04DF #4E26FB #7F62FC #B09EFD #E1DAFE

Accessibility & contrast

On white

4.15
#7F62FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#7F62FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F62FC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F62FC#FFFFFF#000000##000000
##7F62FC1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#0078F9
Tritanopia (blue-blind)
#5187A6
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7f62fc;
/* rgb */ color: rgb(127, 98, 252);
/* oklch */ color: oklch(60.8% 0.219 286.6);
Tailwind
colors: {
  custom: {
    50: '#ad90fe',
    500: '#7f62fc',
    950: '#000000',
  },
}
SCSS
$custom: #7f62fc;
$custom-light: #ad90fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7f62fc",
  "rgb": {
    "r": 127,
    "g": 98,
    "b": 252
  },
  "hsl": {
    "h": 251.299,
    "s": 96.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.60825,
    "c": 0.2188,
    "h": 286.6
  },
  "luminance": 0.20276
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F62FC

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

Preview Lab → · Contrast checker → · Palette generator →

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