#7F61DF#7F61DF

#7F61DF is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.6% C 0.184 H 290.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7F61DF
RGBrgb(127, 97, 223)
HSLhsl(254, 66%, 63%)
HSVhsv(254, 57%, 87%)
CMYKcmyk(43%, 56.5%, 0%, 12.5%)
CIE-LABlab(49.96, 41.67, -60.48)
CIE-LCHlch(49.96, 73.44, 304.57°)
OKLaboklab(58.6% 0.0646 -0.1723)
OKLCHoklch(58.6% 0.184 290.6)
XYZxyz(26.3427, 18.3883, 71.9591)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F61DF #C1DF61
analogous
#6182DF #7F61DF #BE61DF
triadic
#7F61DF #DF7F61 #61DF7F
tetradic
#7F61DF #DF6182 #C1DF61 #61DFBE
square
#7F61DF #DF6182 #C1DF61 #61DFBE
split-complementary
#7F61DF #DFBE61 #82DF61
monochromatic
#4021A4 #562ED5 #7F61DF #A894E9 #D1C7F4

Accessibility & contrast

On white

4.49
#7F61DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#7F61DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F61DF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F61DF#FFFFFF#000000##000000
##7F61DF1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1479E3
Deuteranopia (green-blind)
#1D74DC
Tritanopia (blue-blind)
#637D97
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7f61df;
/* rgb */ color: rgb(127, 97, 223);
/* oklch */ color: oklch(58.6% 0.184 290.6);
Tailwind
colors: {
  custom: {
    50: '#aa8fea',
    500: '#7f61df',
    950: '#000000',
  },
}
SCSS
$custom: #7f61df;
$custom-light: #aa8fea;
$custom-dark: #000000;
JSON
{
  "hex": "#7f61df",
  "rgb": {
    "r": 127,
    "g": 97,
    "b": 223
  },
  "hsl": {
    "h": 254.286,
    "s": 66.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58602,
    "c": 0.18399,
    "h": 290.6
  },
  "luminance": 0.18389
}

Semantic roles & 50–950 ramp

primary
#7F61DF
secondary
#DAE5B7
accent
#CE17A3
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7F61DF

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

Preview Lab → · Contrast checker → · Palette generator →

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