#7F55BA#7F55BA

#7F55BA is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.2% C 0.155 H 300.5°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7F55BA
RGBrgb(127, 85, 186)
HSLhsl(265, 42%, 53%)
HSVhsv(265, 54%, 73%)
CMYKcmyk(31.7%, 54.3%, 0%, 27.1%)
CIE-LABlab(45.02, 38.60, -47.18)
CIE-LCHlch(45.02, 60.96, 309.29°)
OKLaboklab(54.22% 0.0786 -0.1332)
OKLCHoklch(54.22% 0.155 300.5)
XYZxyz(20.8617, 14.5541, 48.1550)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F55BA #90BA55
analogous
#555EBA #7F55BA #B155BA
triadic
#7F55BA #BA7F55 #55BA7F
tetradic
#7F55BA #BA555E #90BA55 #55BAB1
square
#7F55BA #BA555E #90BA55 #55BAB1
split-complementary
#7F55BA #BAB155 #5EBA55
monochromatic
#452B6A #613D95 #7F55BA #A081CC #C1ACDD

Accessibility & contrast

On white

5.37
#7F55BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#7F55BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F55BA
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F55BA#FFFFFF#000000##FFFFFF
##7F55BA1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6ABD
Deuteranopia (green-blind)
#3B6AB8
Tritanopia (blue-blind)
#73697F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7f55ba;
/* rgb */ color: rgb(127, 85, 186);
/* oklch */ color: oklch(54.2% 0.155 300.5);
Tailwind
colors: {
  custom: {
    50: '#a786cf',
    500: '#7f55ba',
    950: '#000000',
  },
}
SCSS
$custom: #7f55ba;
$custom-light: #a786cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7f55ba",
  "rgb": {
    "r": 127,
    "g": 85,
    "b": 186
  },
  "hsl": {
    "h": 264.95,
    "s": 42.259,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54215,
    "c": 0.15467,
    "h": 300.5
  },
  "luminance": 0.14554
}

Semantic roles & 50–950 ramp

primary
#7F55BA
secondary
#B9CBA0
accent
#D2569E
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #7F55BA

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

Preview Lab → · Contrast checker → · Palette generator →

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