#7F60DF#7F60DF

#7F60DF is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.4% C 0.185 H 290.8°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7F60DF
RGBrgb(127, 96, 223)
HSLhsl(255, 66%, 63%)
HSVhsv(255, 57%, 87%)
CMYKcmyk(43%, 57%, 0%, 12.5%)
CIE-LABlab(49.74, 42.24, -60.83)
CIE-LCHlch(49.74, 74.06, 304.77°)
OKLaboklab(58.44% 0.0658 -0.1733)
OKLCHoklch(58.44% 0.185 290.8)
XYZxyz(26.2509, 18.2046, 71.9285)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F60DF #C0DF60
analogous
#6080DF #7F60DF #BF60DF
triadic
#7F60DF #DF7F60 #60DF7F
tetradic
#7F60DF #DF6080 #C0DF60 #60DFBF
square
#7F60DF #DF6080 #C0DF60 #60DFBF
split-complementary
#7F60DF #DFBF60 #80DF60
monochromatic
#4121A4 #562DD5 #7F60DF #A893E9 #D1C6F4

Accessibility & contrast

On white

4.52
#7F60DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#7F60DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F60DF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F60DF#FFFFFF#000000##000000
##7F60DF1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E78E3
Deuteranopia (green-blind)
#1A74DC
Tritanopia (blue-blind)
#637C96
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7f60df;
/* rgb */ color: rgb(127, 96, 223);
/* oklch */ color: oklch(58.4% 0.185 290.8);
Tailwind
colors: {
  custom: {
    50: '#aa8eea',
    500: '#7f60df',
    950: '#000000',
  },
}
SCSS
$custom: #7f60df;
$custom-light: #aa8eea;
$custom-dark: #000000;
JSON
{
  "hex": "#7f60df",
  "rgb": {
    "r": 127,
    "g": 96,
    "b": 223
  },
  "hsl": {
    "h": 254.646,
    "s": 66.492,
    "l": 62.549
  },
  "oklch": {
    "l": 0.5844,
    "c": 0.18538,
    "h": 290.8
  },
  "luminance": 0.18205
}

Semantic roles & 50–950 ramp

primary
#7F60DF
secondary
#D9E4B6
accent
#CE17A2
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7F60DF

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

Preview Lab → · Contrast checker → · Palette generator →

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