#7F61FA#7F61FA

#7F61FA is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.5% C 0.218 H 287.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7F61FA
RGBrgb(127, 97, 250)
HSLhsl(252, 94%, 68%)
HSVhsv(252, 61%, 98%)
CMYKcmyk(49.2%, 61.2%, 0%, 2%)
CIE-LABlab(51.79, 49.26, -72.66)
CIE-LCHlch(51.79, 87.78, 304.14°)
OKLaboklab(60.52% 0.0637 -0.2081)
OKLCHoklch(60.52% 0.218 287)
XYZxyz(30.2773, 19.9621, 92.6817)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F61FA #DCFA61
analogous
#618FFA #7F61FA #CC61FA
triadic
#7F61FA #FA7F61 #61FA7F
tetradic
#7F61FA #FA618F #DCFA61 #61FACC
square
#7F61FA #FA618F #DCFA61 #61FACC
split-complementary
#7F61FA #FACC61 #8FFA61
monochromatic
#3007DA #4F26F8 #7F61FA #AF9CFC #DFD8FE

Accessibility & contrast

On white

4.21
#7F61FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#7F61FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F61FA
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F61FA#FFFFFF#000000##000000
##7F61FA1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0077F7
Tritanopia (blue-blind)
#5385A5
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7f61fa;
/* rgb */ color: rgb(127, 97, 250);
/* oklch */ color: oklch(60.5% 0.218 287.0);
Tailwind
colors: {
  custom: {
    50: '#ad8ffd',
    500: '#7f61fa',
    950: '#000000',
  },
}
SCSS
$custom: #7f61fa;
$custom-light: #ad8ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#7f61fa",
  "rgb": {
    "r": 127,
    "g": 97,
    "b": 250
  },
  "hsl": {
    "h": 251.765,
    "s": 93.865,
    "l": 68.039
  },
  "oklch": {
    "l": 0.60524,
    "c": 0.21762,
    "h": 287
  },
  "luminance": 0.19964
}

Semantic roles & 50–950 ramp

primary
#7F61FA
secondary
#EAF3C4
accent
#E600B8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7F61FA

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

Preview Lab → · Contrast checker → · Palette generator →

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