#7D55CD#7D55CD

#7D55CD is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.3% C 0.178 H 295.3°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#7D55CD
RGBrgb(125, 85, 205)
HSLhsl(260, 55%, 57%)
HSVhsv(260, 59%, 80%)
CMYKcmyk(39%, 58.5%, 0%, 19.6%)
CIE-LABlab(45.99, 43.10, -56.62)
CIE-LCHlch(45.99, 71.16, 307.28°)
OKLaboklab(55.27% 0.0762 -0.161)
OKLCHoklch(55.27% 0.178 295.3)
XYZxyz(22.7225, 15.2643, 59.4949)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D55CD #A5CD55
analogous
#5569CD #7D55CD #B955CD
triadic
#7D55CD #CD7D55 #55CD7D
tetradic
#7D55CD #CD5569 #A5CD55 #55CDB9
square
#7D55CD #CD5569 #A5CD55 #55CDB9
split-complementary
#7D55CD #CDB955 #69CD55
monochromatic
#452682 #5E34B1 #7D55CD #A184DB #C5B4E9

Accessibility & contrast

On white

5.18
#7D55CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#7D55CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D55CD
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D55CD#FFFFFF#000000##FFFFFF
##7D55CD1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#066ED1
Deuteranopia (green-blind)
#206BCA
Tritanopia (blue-blind)
#696F89
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7d55cd;
/* rgb */ color: rgb(125, 85, 205);
/* oklch */ color: oklch(55.3% 0.178 295.3);
Tailwind
colors: {
  custom: {
    50: '#a886dd',
    500: '#7d55cd',
    950: '#000000',
  },
}
SCSS
$custom: #7d55cd;
$custom-light: #a886dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d55cd",
  "rgb": {
    "r": 125,
    "g": 85,
    "b": 205
  },
  "hsl": {
    "h": 260,
    "s": 54.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.55266,
    "c": 0.17813,
    "h": 295.3
  },
  "luminance": 0.15265
}

Semantic roles & 50–950 ramp

primary
#7D55CD
secondary
#C7D7A6
accent
#DE4AAD
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D55CD

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

Preview Lab → · Contrast checker → · Palette generator →

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