#7F55DA#7F55DA

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

Color values

HEX#7F55DA
RGBrgb(127, 85, 218)
HSLhsl(259, 64%, 59%)
HSVhsv(259, 61%, 85%)
CMYKcmyk(41.7%, 61%, 0%, 14.5%)
CIE-LABlab(47.07, 47.03, -62.32)
CIE-LCHlch(47.07, 78.07, 307.04°)
OKLaboklab(56.37% 0.0783 -0.1777)
OKLCHoklch(56.37% 0.194 293.8)
XYZxyz(24.6524, 16.0703, 68.1191)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F55DA #B0DA55
analogous
#556EDA #7F55DA #C155DA
triadic
#7F55DA #DA7F55 #55DA7F
tetradic
#7F55DA #DA556E #B0DA55 #55DAC1
square
#7F55DA #DA556E #B0DA55 #55DAC1
split-complementary
#7F55DA #DAC155 #6EDA55
monochromatic
#452094 #5C2BC7 #7F55DA #A587E5 #CBBAF0

Accessibility & contrast

On white

4.98
#7F55DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#7F55DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F55DA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F55DA#FFFFFF#000000##FFFFFF
##7F55DA1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f55da;
/* rgb */ color: rgb(127, 85, 218);
/* oklch */ color: oklch(56.4% 0.194 293.8);
Tailwind
colors: {
  custom: {
    50: '#aa87e6',
    500: '#7f55da',
    950: '#000000',
  },
}
SCSS
$custom: #7f55da;
$custom-light: #aa87e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f55da",
  "rgb": {
    "r": 127,
    "g": 85,
    "b": 218
  },
  "hsl": {
    "h": 258.947,
    "s": 64.251,
    "l": 59.412
  },
  "oklch": {
    "l": 0.56373,
    "c": 0.19419,
    "h": 293.8
  },
  "luminance": 0.16071
}

Semantic roles & 50–950 ramp

primary
#7F55DA
secondary
#CFDFAB
accent
#E741B3
background
#FAF8FE
surface
#F5F0FC
border
#CFCBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7F55DA

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

Preview Lab → · Contrast checker → · Palette generator →

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