#7F62FD#7F62FD

#7F62FD is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 60.9% C 0.220 H 286.5°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7F62FD
RGBrgb(127, 98, 253)
HSLhsl(251, 97%, 69%)
HSVhsv(251, 61%, 99%)
CMYKcmyk(49.8%, 61.3%, 0%, 0.8%)
CIE-LABlab(52.22, 49.56, -73.64)
CIE-LCHlch(52.22, 88.76, 303.94°)
OKLaboklab(60.9% 0.0625 -0.211)
OKLCHoklch(60.9% 0.22 286.5)
XYZxyz(30.8445, 20.3377, 95.2098)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F62FD #E0FD62
analogous
#6293FD #7F62FD #CD62FD
triadic
#7F62FD #FD7F62 #62FD7F
tetradic
#7F62FD #FD6293 #E0FD62 #62FDCD
square
#7F62FD #FD6293 #E0FD62 #62FDCD
split-complementary
#7F62FD #FDCD62 #93FD62
monochromatic
#2D03E2 #4E26FC #7F62FD #B09EFE #E2DBFF

Accessibility & contrast

On white

4.14
#7F62FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#7F62FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F62FD
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F62FD#FFFFFF#000000##000000
##7F62FD1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#0078FA
Tritanopia (blue-blind)
#5187A7
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7f62fd;
/* rgb */ color: rgb(127, 98, 253);
/* oklch */ color: oklch(60.9% 0.220 286.5);
Tailwind
colors: {
  custom: {
    50: '#ad90ff',
    500: '#7f62fd',
    950: '#000000',
  },
}
SCSS
$custom: #7f62fd;
$custom-light: #ad90ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7f62fd",
  "rgb": {
    "r": 127,
    "g": 98,
    "b": 253
  },
  "hsl": {
    "h": 251.226,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.609,
    "c": 0.22003,
    "h": 286.5
  },
  "luminance": 0.20339
}

Semantic roles & 50–950 ramp

primary
#7F62FD
secondary
#ECF4C6
accent
#E600BB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110D18
muted
#807D86

Preview Lab

Preview with #7F62FD

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

Preview Lab → · Contrast checker → · Palette generator →

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