#7D55CC#7D55CC

#7D55CC is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.2% C 0.177 H 295.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#7D55CC
RGBrgb(125, 85, 204)
HSLhsl(260, 54%, 57%)
HSVhsv(260, 58%, 80%)
CMYKcmyk(38.7%, 58.3%, 0%, 20%)
CIE-LABlab(45.93, 42.84, -56.15)
CIE-LCHlch(45.93, 70.62, 307.34°)
OKLaboklab(55.2% 0.0762 -0.1596)
OKLCHoklch(55.2% 0.177 295.5)
XYZxyz(22.6022, 15.2162, 58.8612)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D55CC #A4CC55
analogous
#5569CC #7D55CC #B955CC
triadic
#7D55CC #CC7D55 #55CC7D
tetradic
#7D55CC #CC5569 #A4CC55 #55CCB9
square
#7D55CC #CC5569 #A4CC55 #55CCB9
split-complementary
#7D55CC #CCB955 #69CC55
monochromatic
#452680 #5E35AF #7D55CC #A184DA #C5B3E8

Accessibility & contrast

On white

5.19
#7D55CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#7D55CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D55CC
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D55CC#FFFFFF#000000##FFFFFF
##7D55CC1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A6ED0
Deuteranopia (green-blind)
#226BC9
Tritanopia (blue-blind)
#696F88
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7d55cc;
/* rgb */ color: rgb(125, 85, 204);
/* oklch */ color: oklch(55.2% 0.177 295.5);
Tailwind
colors: {
  custom: {
    50: '#a786dc',
    500: '#7d55cc',
    950: '#000000',
  },
}
SCSS
$custom: #7d55cc;
$custom-light: #a786dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d55cc",
  "rgb": {
    "r": 125,
    "g": 85,
    "b": 204
  },
  "hsl": {
    "h": 260.168,
    "s": 53.846,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55197,
    "c": 0.17689,
    "h": 295.5
  },
  "luminance": 0.15217
}

Semantic roles & 50–950 ramp

primary
#7D55CC
secondary
#C6D7A6
accent
#DD4BAC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D55CC

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

Preview Lab → · Contrast checker → · Palette generator →

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