#7F61FC#7F61FC

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

Color values

HEX#7F61FC
RGBrgb(127, 97, 252)
HSLhsl(252, 96%, 68%)
HSVhsv(252, 62%, 99%)
CMYKcmyk(49.6%, 61.5%, 0%, 1.2%)
CIE-LABlab(51.94, 49.83, -73.54)
CIE-LCHlch(51.94, 88.83, 304.12°)
OKLaboklab(60.67% 0.0635 -0.2107)
OKLCHoklch(60.67% 0.22 286.8)
XYZxyz(30.5926, 20.0882, 94.3420)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F61FC #DEFC61
analogous
#6190FC #7F61FC #CC61FC
triadic
#7F61FC #FC7F61 #61FC7F
tetradic
#7F61FC #FC6190 #DEFC61 #61FCCC
square
#7F61FC #FC6190 #DEFC61 #61FCCC
split-complementary
#7F61FC #FCCC61 #90FC61
monochromatic
#2E04DE #4E25FB #7F61FC #B09DFD #E0D9FE

Accessibility & contrast

On white

4.18
#7F61FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#7F61FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F61FC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F61FC#FFFFFF#000000##000000
##7F61FC1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f61fc;
/* rgb */ color: rgb(127, 97, 252);
/* oklch */ color: oklch(60.7% 0.220 286.8);
Tailwind
colors: {
  custom: {
    50: '#ad8ffe',
    500: '#7f61fc',
    950: '#000000',
  },
}
SCSS
$custom: #7f61fc;
$custom-light: #ad8ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#7f61fc",
  "rgb": {
    "r": 127,
    "g": 97,
    "b": 252
  },
  "hsl": {
    "h": 251.613,
    "s": 96.273,
    "l": 68.431
  },
  "oklch": {
    "l": 0.60673,
    "c": 0.22004,
    "h": 286.8
  },
  "luminance": 0.2009
}

Semantic roles & 50–950 ramp

primary
#7F61FC
secondary
#EBF4C5
accent
#E600B9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7F61FC

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

Preview Lab → · Contrast checker → · Palette generator →

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