#7F55DD#7F55DD

#7F55DD is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.6% C 0.198 H 293.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7F55DD
RGBrgb(127, 85, 221)
HSLhsl(259, 67%, 60%)
HSVhsv(259, 62%, 87%)
CMYKcmyk(42.5%, 61.5%, 0%, 13.3%)
CIE-LABlab(47.27, 47.84, -63.69)
CIE-LCHlch(47.27, 79.65, 306.91°)
OKLaboklab(56.59% 0.0781 -0.1817)
OKLCHoklch(56.59% 0.198 293.3)
XYZxyz(25.0485, 16.2288, 70.2053)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F55DD #B3DD55
analogous
#556FDD #7F55DD #C355DD
triadic
#7F55DD #DD7F55 #55DD7F
tetradic
#7F55DD #DD556F #B3DD55 #55DDC3
square
#7F55DD #DD556F #B3DD55 #55DDC3
split-complementary
#7F55DD #DDC355 #6FDD55
monochromatic
#441F99 #5B29CC #7F55DD #A588E7 #CCBBF1

Accessibility & contrast

On white

4.95
#7F55DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#7F55DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F55DD
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F55DD#FFFFFF#000000##FFFFFF
##7F55DD1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E1
Deuteranopia (green-blind)
#006EDA
Tritanopia (blue-blind)
#657491
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7f55dd;
/* rgb */ color: rgb(127, 85, 221);
/* oklch */ color: oklch(56.6% 0.198 293.3);
Tailwind
colors: {
  custom: {
    50: '#aa87e8',
    500: '#7f55dd',
    950: '#000000',
  },
}
SCSS
$custom: #7f55dd;
$custom-light: #aa87e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f55dd",
  "rgb": {
    "r": 127,
    "g": 85,
    "b": 221
  },
  "hsl": {
    "h": 258.529,
    "s": 66.667,
    "l": 60
  },
  "oklch": {
    "l": 0.56589,
    "c": 0.19783,
    "h": 293.3
  },
  "luminance": 0.16229
}

Semantic roles & 50–950 ramp

primary
#7F55DD
secondary
#D1E1AD
accent
#EA3EB5
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7F55DD

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

Preview Lab → · Contrast checker → · Palette generator →

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