#7F53B0#7F53B0

#7F53B0 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.3% C 0.145 H 303.7°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#7F53B0
RGBrgb(127, 83, 176)
HSLhsl(268, 37%, 51%)
HSVhsv(268, 53%, 69%)
CMYKcmyk(27.8%, 52.8%, 0%, 31%)
CIE-LABlab(43.99, 37.21, -42.96)
CIE-LCHlch(43.99, 56.83, 310.90°)
OKLaboklab(53.27% 0.0806 -0.1209)
OKLCHoklch(53.27% 0.145 303.7)
XYZxyz(19.6804, 13.8332, 42.6991)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F53B0 #84B053
analogous
#5355B0 #7F53B0 #AD53B0
triadic
#7F53B0 #B07F53 #53B07F
tetradic
#7F53B0 #B05355 #84B053 #53B0AD
square
#7F53B0 #B05355 #84B053 #53B0AD
split-complementary
#7F53B0 #B0AD53 #55B053
monochromatic
#432B5E #613E88 #7F53B0 #9E7DC3 #BDA7D7

Accessibility & contrast

On white

5.58
#7F53B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7F53B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F53B0
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F53B0#FFFFFF#000000##FFFFFF
##7F53B01.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3467B3
Deuteranopia (green-blind)
#4168AE
Tritanopia (blue-blind)
#766479
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7f53b0;
/* rgb */ color: rgb(127, 83, 176);
/* oklch */ color: oklch(53.3% 0.145 303.7);
Tailwind
colors: {
  custom: {
    50: '#a785c8',
    500: '#7f53b0',
    950: '#000000',
  },
}
SCSS
$custom: #7f53b0;
$custom-light: #a785c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f53b0",
  "rgb": {
    "r": 127,
    "g": 83,
    "b": 176
  },
  "hsl": {
    "h": 268.387,
    "s": 37.052,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53269,
    "c": 0.1453,
    "h": 303.7
  },
  "luminance": 0.13833
}

Semantic roles & 50–950 ramp

primary
#7F53B0
secondary
#B1C49B
accent
#CD5B97
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #7F53B0

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

Preview Lab → · Contrast checker → · Palette generator →

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