#7F41CD#7F41CD

#7F41CD is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.6% C 0.205 H 299.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#7F41CD
RGBrgb(127, 65, 205)
HSLhsl(267, 58%, 53%)
HSVhsv(267, 68%, 80%)
CMYKcmyk(38%, 68.3%, 0%, 19.6%)
CIE-LABlab(42.31, 54.08, -62.57)
CIE-LCHlch(42.31, 82.70, 310.83°)
OKLaboklab(52.65% 0.1011 -0.1784)
OKLCHoklch(52.65% 0.205 299.5)
XYZxyz(21.6594, 12.7002, 59.0560)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F41CD #8FCD41
analogous
#4149CD #7F41CD #C541CD
triadic
#7F41CD #CD7F41 #41CD7F
tetradic
#7F41CD #CD4149 #8FCD41 #41CDC5
square
#7F41CD #CD4149 #8FCD41 #41CDC5
split-complementary
#7F41CD #CDC541 #49CD41
monochromatic
#451F75 #612CA5 #7F41CD #A071DA #C0A2E6

Accessibility & contrast

On white

5.93
#7F41CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#7F41CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F41CD
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F41CD#FFFFFF#000000##FFFFFF
##7F41CD1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#6D6282
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7f41cd;
/* rgb */ color: rgb(127, 65, 205);
/* oklch */ color: oklch(52.6% 0.205 299.5);
Tailwind
colors: {
  custom: {
    50: '#aa7add',
    500: '#7f41cd',
    950: '#000000',
  },
}
SCSS
$custom: #7f41cd;
$custom-light: #aa7add;
$custom-dark: #000000;
JSON
{
  "hex": "#7f41cd",
  "rgb": {
    "r": 127,
    "g": 65,
    "b": 205
  },
  "hsl": {
    "h": 266.571,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52647,
    "c": 0.20508,
    "h": 299.5
  },
  "luminance": 0.127
}

Semantic roles & 50–950 ramp

primary
#7F41CD
secondary
#B8D397
accent
#E2469D
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7F41CD

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

Preview Lab → · Contrast checker → · Palette generator →

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