#7F55CF#7F55CF

#7F55CF is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.6% C 0.181 H 295.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7F55CF
RGBrgb(127, 85, 207)
HSLhsl(261, 56%, 57%)
HSVhsv(261, 59%, 81%)
CMYKcmyk(38.6%, 58.9%, 0%, 18.8%)
CIE-LABlab(46.33, 44.09, -57.22)
CIE-LCHlch(46.33, 72.23, 307.61°)
OKLaboklab(55.6% 0.0788 -0.1627)
OKLCHoklch(55.6% 0.181 295.8)
XYZxyz(23.2605, 15.5136, 60.7883)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F55CF #A5CF55
analogous
#5568CF #7F55CF #BC55CF
triadic
#7F55CF #CF7F55 #55CF7F
tetradic
#7F55CF #CF5568 #A5CF55 #55CFBC
square
#7F55CF #CF5568 #A5CF55 #55CFBC
split-complementary
#7F55CF #CFBC55 #68CF55
monochromatic
#462584 #5F33B4 #7F55CF #A385DC #C7B4EA

Accessibility & contrast

On white

5.12
#7F55CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#7F55CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F55CF
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F55CF#FFFFFF#000000##FFFFFF
##7F55CF1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD3
Deuteranopia (green-blind)
#1F6CCC
Tritanopia (blue-blind)
#6B6F8A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7f55cf;
/* rgb */ color: rgb(127, 85, 207);
/* oklch */ color: oklch(55.6% 0.181 295.8);
Tailwind
colors: {
  custom: {
    50: '#a986de',
    500: '#7f55cf',
    950: '#000000',
  },
}
SCSS
$custom: #7f55cf;
$custom-light: #a986de;
$custom-dark: #000000;
JSON
{
  "hex": "#7f55cf",
  "rgb": {
    "r": 127,
    "g": 85,
    "b": 207
  },
  "hsl": {
    "h": 260.656,
    "s": 55.963,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55601,
    "c": 0.18078,
    "h": 295.8
  },
  "luminance": 0.15514
}

Semantic roles & 50–950 ramp

primary
#7F55CF
secondary
#C8D9A7
accent
#DF49AB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7F55CF

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

Preview Lab → · Contrast checker → · Palette generator →

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