#7F60DB#7F60DB

#7F60DB is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.2% C 0.180 H 291.4°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7F60DB
RGBrgb(127, 96, 219)
HSLhsl(255, 63%, 62%)
HSVhsv(255, 56%, 86%)
CMYKcmyk(42%, 56.2%, 0%, 14.1%)
CIE-LABlab(49.49, 41.13, -58.98)
CIE-LCHlch(49.49, 71.91, 304.89°)
OKLaboklab(58.17% 0.0658 -0.1679)
OKLCHoklch(58.17% 0.18 291.4)
XYZxyz(25.7179, 17.9915, 69.1218)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F60DB #BCDB60
analogous
#607FDB #7F60DB #BD60DB
triadic
#7F60DB #DB7F60 #60DB7F
tetradic
#7F60DB #DB607F #BCDB60 #60DBBD
square
#7F60DB #DB607F #BCDB60 #60DBBD
split-complementary
#7F60DB #DBBD60 #7FDB60
monochromatic
#42249D #572FCF #7F60DB #A792E6 #CFC4F2

Accessibility & contrast

On white

4.57
#7F60DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#7F60DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F60DB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F60DB#FFFFFF#000000##000000
##7F60DB1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A78DF
Deuteranopia (green-blind)
#2373D8
Tritanopia (blue-blind)
#657B94
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7f60db;
/* rgb */ color: rgb(127, 96, 219);
/* oklch */ color: oklch(58.2% 0.180 291.4);
Tailwind
colors: {
  custom: {
    50: '#aa8ee7',
    500: '#7f60db',
    950: '#000000',
  },
}
SCSS
$custom: #7f60db;
$custom-light: #aa8ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f60db",
  "rgb": {
    "r": 127,
    "g": 96,
    "b": 219
  },
  "hsl": {
    "h": 255.122,
    "s": 63.077,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58168,
    "c": 0.18031,
    "h": 291.4
  },
  "luminance": 0.17992
}

Semantic roles & 50–950 ramp

primary
#7F60DB
secondary
#D7E2B5
accent
#CB1B9E
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7F60DB

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

Preview Lab → · Contrast checker → · Palette generator →

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