#7F55BB#7F55BB

#7F55BB is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.3% C 0.156 H 300.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7F55BB
RGBrgb(127, 85, 187)
HSLhsl(265, 43%, 53%)
HSVhsv(265, 55%, 73%)
CMYKcmyk(32.1%, 54.5%, 0%, 26.7%)
CIE-LABlab(45.08, 38.86, -47.66)
CIE-LCHlch(45.08, 61.50, 309.19°)
OKLaboklab(54.28% 0.0786 -0.1347)
OKLCHoklch(54.28% 0.156 300.3)
XYZxyz(20.9684, 14.5968, 48.7168)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F55BB #91BB55
analogous
#555EBB #7F55BB #B255BB
triadic
#7F55BB #BB7F55 #55BB7F
tetradic
#7F55BB #BB555E #91BB55 #55BBB2
square
#7F55BB #BB555E #91BB55 #55BBB2
split-complementary
#7F55BB #BBB255 #5EBB55
monochromatic
#452B6B #613C97 #7F55BB #A081CC #C1ACDE

Accessibility & contrast

On white

5.36
#7F55BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#7F55BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F55BB
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F55BB#FFFFFF#000000##FFFFFF
##7F55BB1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6ABE
Deuteranopia (green-blind)
#3A6AB9
Tritanopia (blue-blind)
#736980
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7f55bb;
/* rgb */ color: rgb(127, 85, 187);
/* oklch */ color: oklch(54.3% 0.156 300.3);
Tailwind
colors: {
  custom: {
    50: '#a786d0',
    500: '#7f55bb',
    950: '#000000',
  },
}
SCSS
$custom: #7f55bb;
$custom-light: #a786d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f55bb",
  "rgb": {
    "r": 127,
    "g": 85,
    "b": 187
  },
  "hsl": {
    "h": 264.706,
    "s": 42.857,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54278,
    "c": 0.15593,
    "h": 300.3
  },
  "luminance": 0.14597
}

Semantic roles & 50–950 ramp

primary
#7F55BB
secondary
#BACCA0
accent
#D3559F
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #7F55BB

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

Preview Lab → · Contrast checker → · Palette generator →

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