#7F53BB#7F53BB

#7F53BB is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.0% C 0.159 H 300.7°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7F53BB
RGBrgb(127, 83, 187)
HSLhsl(265, 43%, 53%)
HSVhsv(265, 56%, 73%)
CMYKcmyk(32.1%, 55.6%, 0%, 26.7%)
CIE-LABlab(44.64, 39.99, -48.36)
CIE-LCHlch(44.64, 62.75, 309.59°)
OKLaboklab(53.96% 0.0812 -0.1367)
OKLCHoklch(53.96% 0.159 300.7)
XYZxyz(20.8132, 14.2863, 48.6651)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F53BB #8FBB53
analogous
#535BBB #7F53BB #B353BB
triadic
#7F53BB #BB7F53 #53BB7F
tetradic
#7F53BB #BB535B #8FBB53 #53BBB3
square
#7F53BB #BB535B #8FBB53 #53BBB3
split-complementary
#7F53BB #BBB353 #5BBB53
monochromatic
#452A6A #613B96 #7F53BB #A07FCC #C0ABDE

Accessibility & contrast

On white

5.44
#7F53BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#7F53BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F53BB
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F53BB#FFFFFF#000000##FFFFFF
##7F53BB1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2869BE
Deuteranopia (green-blind)
#3869B9
Tritanopia (blue-blind)
#73687F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7f53bb;
/* rgb */ color: rgb(127, 83, 187);
/* oklch */ color: oklch(54.0% 0.159 300.7);
Tailwind
colors: {
  custom: {
    50: '#a785d0',
    500: '#7f53bb',
    950: '#000000',
  },
}
SCSS
$custom: #7f53bb;
$custom-light: #a785d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f53bb",
  "rgb": {
    "r": 127,
    "g": 83,
    "b": 187
  },
  "hsl": {
    "h": 265.385,
    "s": 43.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53957,
    "c": 0.159,
    "h": 300.7
  },
  "luminance": 0.14286
}

Semantic roles & 50–950 ramp

primary
#7F53BB
secondary
#B8CB9E
accent
#D3559E
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #7F53BB

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

Preview Lab → · Contrast checker → · Palette generator →

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