#7C55CB#7C55CB

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

Color values

HEX#7C55CB
RGBrgb(124, 85, 203)
HSLhsl(260, 53%, 56%)
HSVhsv(260, 58%, 80%)
CMYKcmyk(38.9%, 58.1%, 0%, 20.4%)
CIE-LABlab(45.76, 42.34, -55.85)
CIE-LCHlch(45.76, 70.09, 307.17°)
OKLaboklab(55.03% 0.0749 -0.1588)
OKLCHoklch(55.03% 0.176 295.3)
XYZxyz(22.3374, 15.0934, 58.2248)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C55CB #A4CB55
analogous
#5569CB #7C55CB #B755CB
triadic
#7C55CB #CB7C55 #55CB7C
tetradic
#7C55CB #CB5569 #A4CB55 #55CBB7
square
#7C55CB #CB5569 #A4CB55 #55CBB7
split-complementary
#7C55CB #CBB755 #69CB55
monochromatic
#44277F #5D35AE #7C55CB #A084D9 #C4B3E8

Accessibility & contrast

On white

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

On black

4.02
#7C55CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7C55CB#FFFFFF#000000##FFFFFF
##7C55CB1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D6DCF
Deuteranopia (green-blind)
#226BC8
Tritanopia (blue-blind)
#686E88
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7c55cb;
/* rgb */ color: rgb(124, 85, 203);
/* oklch */ color: oklch(55.0% 0.176 295.3);
Tailwind
colors: {
  custom: {
    50: '#a786db',
    500: '#7c55cb',
    950: '#000000',
  },
}
SCSS
$custom: #7c55cb;
$custom-light: #a786db;
$custom-dark: #000000;
JSON
{
  "hex": "#7c55cb",
  "rgb": {
    "r": 124,
    "g": 85,
    "b": 203
  },
  "hsl": {
    "h": 259.831,
    "s": 53.153,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5503,
    "c": 0.17557,
    "h": 295.3
  },
  "luminance": 0.15094
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C55CB

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

Preview Lab → · Contrast checker → · Palette generator →

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