#7A53CB#7A53CB

#7A53CB is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.5% C 0.178 H 294.8°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7A53CB
RGBrgb(122, 83, 203)
HSLhsl(260, 54%, 56%)
HSVhsv(260, 59%, 80%)
CMYKcmyk(39.9%, 59.1%, 0%, 20.4%)
CIE-LABlab(45.13, 43.02, -56.88)
CIE-LCHlch(45.13, 71.31, 307.10°)
OKLaboklab(54.52% 0.0746 -0.1619)
OKLCHoklch(54.52% 0.178 294.8)
XYZxyz(21.8959, 14.6354, 58.1596)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A53CB #A4CB53
analogous
#5368CB #7A53CB #B653CB
triadic
#7A53CB #CB7A53 #53CB7A
tetradic
#7A53CB #CB5368 #A4CB53 #53CBB6
square
#7A53CB #CB5368 #A4CB53 #53CBB6
split-complementary
#7A53CB #CBB653 #68CB53
monochromatic
#42267E #5B34AD #7A53CB #9E82D9 #C3B1E7

Accessibility & contrast

On white

5.35
#7A53CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#7A53CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A53CB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A53CB#FFFFFF#000000##FFFFFF
##7A53CB1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#1969C8
Tritanopia (blue-blind)
#656D87
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7a53cb;
/* rgb */ color: rgb(122, 83, 203);
/* oklch */ color: oklch(54.5% 0.178 294.8);
Tailwind
colors: {
  custom: {
    50: '#a685dc',
    500: '#7a53cb',
    950: '#000000',
  },
}
SCSS
$custom: #7a53cb;
$custom-light: #a685dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a53cb",
  "rgb": {
    "r": 122,
    "g": 83,
    "b": 203
  },
  "hsl": {
    "h": 259.5,
    "s": 53.571,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5452,
    "c": 0.17825,
    "h": 294.8
  },
  "luminance": 0.14636
}

Semantic roles & 50–950 ramp

primary
#7A53CB
secondary
#C6D6A4
accent
#DD4BAD
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7A53CB

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

Preview Lab → · Contrast checker → · Palette generator →

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