#7F55DB#7F55DB

#7F55DB is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.4% C 0.195 H 293.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7F55DB
RGBrgb(127, 85, 219)
HSLhsl(259, 65%, 60%)
HSVhsv(259, 61%, 86%)
CMYKcmyk(42%, 61.2%, 0%, 14.1%)
CIE-LABlab(47.14, 47.30, -62.78)
CIE-LCHlch(47.14, 78.60, 307.00°)
OKLaboklab(56.45% 0.0783 -0.179)
OKLCHoklch(56.45% 0.195 293.6)
XYZxyz(24.7836, 16.1228, 68.8103)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F55DB #B1DB55
analogous
#556EDB #7F55DB #C255DB
triadic
#7F55DB #DB7F55 #55DB7F
tetradic
#7F55DB #DB556E #B1DB55 #55DBC2
square
#7F55DB #DB556E #B1DB55 #55DBC2
split-complementary
#7F55DB #DBC255 #6EDB55
monochromatic
#452096 #5C2AC8 #7F55DB #A588E6 #CBBAF0

Accessibility & contrast

On white

4.97
#7F55DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#7F55DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F55DB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F55DB#FFFFFF#000000##FFFFFF
##7F55DB1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#006DD8
Tritanopia (blue-blind)
#667390
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7f55db;
/* rgb */ color: rgb(127, 85, 219);
/* oklch */ color: oklch(56.4% 0.195 293.6);
Tailwind
colors: {
  custom: {
    50: '#aa87e7',
    500: '#7f55db',
    950: '#000000',
  },
}
SCSS
$custom: #7f55db;
$custom-light: #aa87e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f55db",
  "rgb": {
    "r": 127,
    "g": 85,
    "b": 219
  },
  "hsl": {
    "h": 258.806,
    "s": 65.049,
    "l": 59.608
  },
  "oklch": {
    "l": 0.56445,
    "c": 0.19541,
    "h": 293.6
  },
  "luminance": 0.16123
}

Semantic roles & 50–950 ramp

primary
#7F55DB
secondary
#D0E0AC
accent
#E840B3
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7F55DB

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

Preview Lab → · Contrast checker → · Palette generator →

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