#7F61EA#7F61EA

#7F61EA is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.4% C 0.198 H 289.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7F61EA
RGBrgb(127, 97, 234)
HSLhsl(253, 77%, 65%)
HSVhsv(253, 59%, 92%)
CMYKcmyk(45.7%, 58.5%, 0%, 8.2%)
CIE-LABlab(50.69, 44.74, -65.51)
CIE-LCHlch(50.69, 79.33, 304.33°)
OKLaboklab(59.37% 0.0644 -0.1871)
OKLCHoklch(59.37% 0.198 289)
XYZxyz(27.8741, 19.0008, 80.0248)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F61EA #CCEA61
analogous
#6187EA #7F61EA #C461EA
triadic
#7F61EA #EA7F61 #61EA7F
tetradic
#7F61EA #EA6187 #CCEA61 #61EAC4
square
#7F61EA #EA6187 #CCEA61 #61EAC4
split-complementary
#7F61EA #EAC461 #87EA61
monochromatic
#3B18B8 #532BE3 #7F61EA #AB97F1 #D7CDF8

Accessibility & contrast

On white

4.37
#7F61EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#7F61EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F61EA
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F61EA#FFFFFF#000000##000000
##7F61EA1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEE
Deuteranopia (green-blind)
#0075E7
Tritanopia (blue-blind)
#5D809C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7f61ea;
/* rgb */ color: rgb(127, 97, 234);
/* oklch */ color: oklch(59.4% 0.198 289.0);
Tailwind
colors: {
  custom: {
    50: '#ab8ff2',
    500: '#7f61ea',
    950: '#000000',
  },
}
SCSS
$custom: #7f61ea;
$custom-light: #ab8ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f61ea",
  "rgb": {
    "r": 127,
    "g": 97,
    "b": 234
  },
  "hsl": {
    "h": 253.139,
    "s": 76.536,
    "l": 64.902
  },
  "oklch": {
    "l": 0.59366,
    "c": 0.19787,
    "h": 289
  },
  "luminance": 0.19002
}

Semantic roles & 50–950 ramp

primary
#7F61EA
secondary
#E1EBBC
accent
#D90DAC
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7F61EA

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

Preview Lab → · Contrast checker → · Palette generator →

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