#7F53CC#7F53CC

#7F53CC is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.1% C 0.180 H 296.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7F53CC
RGBrgb(127, 83, 204)
HSLhsl(262, 54%, 56%)
HSVhsv(262, 59%, 80%)
CMYKcmyk(37.7%, 59.3%, 0%, 20%)
CIE-LABlab(45.71, 44.40, -56.49)
CIE-LCHlch(45.71, 71.85, 308.17°)
OKLaboklab(55.09% 0.0812 -0.1606)
OKLCHoklch(55.09% 0.18 296.8)
XYZxyz(22.7420, 15.0578, 58.8233)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F53CC #A0CC53
analogous
#5364CC #7F53CC #BC53CC
triadic
#7F53CC #CC7F53 #53CC7F
tetradic
#7F53CC #CC5364 #A0CC53 #53CCBC
square
#7F53CC #CC5364 #A0CC53 #53CCBC
split-complementary
#7F53CC #CCBC53 #64CC53
monochromatic
#46267F #6034AE #7F53CC #A282DA #C5B1E8

Accessibility & contrast

On white

5.23
#7F53CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#7F53CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F53CC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F53CC#FFFFFF#000000##FFFFFF
##7F53CC1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD0
Deuteranopia (green-blind)
#206BC9
Tritanopia (blue-blind)
#6D6D88
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7f53cc;
/* rgb */ color: rgb(127, 83, 204);
/* oklch */ color: oklch(55.1% 0.180 296.8);
Tailwind
colors: {
  custom: {
    50: '#a985dc',
    500: '#7f53cc',
    950: '#000000',
  },
}
SCSS
$custom: #7f53cc;
$custom-light: #a985dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7f53cc",
  "rgb": {
    "r": 127,
    "g": 83,
    "b": 204
  },
  "hsl": {
    "h": 261.818,
    "s": 54.26,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55087,
    "c": 0.17994,
    "h": 296.8
  },
  "luminance": 0.15058
}

Semantic roles & 50–950 ramp

primary
#7F53CC
secondary
#C4D6A4
accent
#DE4AA8
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7F53CC

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

Preview Lab → · Contrast checker → · Palette generator →

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