#7F55DC#7F55DC

#7F55DC is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.5% C 0.197 H 293.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#7F55DC
RGBrgb(127, 85, 220)
HSLhsl(259, 66%, 60%)
HSVhsv(259, 61%, 86%)
CMYKcmyk(42.3%, 61.4%, 0%, 13.7%)
CIE-LABlab(47.20, 47.57, -63.23)
CIE-LCHlch(47.20, 79.13, 306.95°)
OKLaboklab(56.52% 0.0782 -0.1804)
OKLCHoklch(56.52% 0.197 293.4)
XYZxyz(24.9157, 16.1757, 69.5057)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F55DC #B2DC55
analogous
#556EDC #7F55DC #C355DC
triadic
#7F55DC #DC7F55 #55DC7F
tetradic
#7F55DC #DC556E #B2DC55 #55DCC3
square
#7F55DC #DC556E #B2DC55 #55DCC3
split-complementary
#7F55DC #DCC355 #6EDC55
monochromatic
#451F97 #5C2ACA #7F55DC #A588E6 #CBBBF1

Accessibility & contrast

On white

4.96
#7F55DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#7F55DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F55DC
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F55DC#FFFFFF#000000##FFFFFF
##7F55DC1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#667491
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7f55dc;
/* rgb */ color: rgb(127, 85, 220);
/* oklch */ color: oklch(56.5% 0.197 293.4);
Tailwind
colors: {
  custom: {
    50: '#aa87e8',
    500: '#7f55dc',
    950: '#000000',
  },
}
SCSS
$custom: #7f55dc;
$custom-light: #aa87e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f55dc",
  "rgb": {
    "r": 127,
    "g": 85,
    "b": 220
  },
  "hsl": {
    "h": 258.667,
    "s": 65.854,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56517,
    "c": 0.19662,
    "h": 293.4
  },
  "luminance": 0.16176
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F55DC

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

Preview Lab → · Contrast checker → · Palette generator →

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