#7D41C8#7D41C8

#7D41C8 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 52.0% C 0.199 H 299.8°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#7D41C8
RGBrgb(125, 65, 200)
HSLhsl(267, 55%, 52%)
HSVhsv(267, 68%, 78%)
CMYKcmyk(37.5%, 67.5%, 0%, 21.6%)
CIE-LABlab(41.71, 52.44, -60.67)
CIE-LCHlch(41.71, 80.19, 310.84°)
OKLaboklab(52.05% 0.0991 -0.1729)
OKLCHoklch(52.05% 0.199 299.8)
XYZxyz(20.7705, 12.3105, 55.9143)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D41C8 #8CC841
analogous
#4149C8 #7D41C8 #C141C8
triadic
#7D41C8 #C87D41 #41C87D
tetradic
#7D41C8 #C84149 #8CC841 #41C8C1
square
#7D41C8 #C84149 #8CC841 #41C8C1
split-complementary
#7D41C8 #C8C141 #49C841
monochromatic
#43206F #602E9E #7D41C8 #9D70D6 #BEA0E3

Accessibility & contrast

On white

6.07
#7D41C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#7D41C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D41C8
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D41C8#FFFFFF#000000##FFFFFF
##7D41C81.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#0061C5
Tritanopia (blue-blind)
#6C617F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7d41c8;
/* rgb */ color: rgb(125, 65, 200);
/* oklch */ color: oklch(52.0% 0.199 299.8);
Tailwind
colors: {
  custom: {
    50: '#a87ada',
    500: '#7d41c8',
    950: '#000000',
  },
}
SCSS
$custom: #7d41c8;
$custom-light: #a87ada;
$custom-dark: #000000;
JSON
{
  "hex": "#7d41c8",
  "rgb": {
    "r": 125,
    "g": 65,
    "b": 200
  },
  "hsl": {
    "h": 266.667,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52048,
    "c": 0.19926,
    "h": 299.8
  },
  "luminance": 0.12311
}

Semantic roles & 50–950 ramp

primary
#7D41C8
secondary
#B6D095
accent
#DE499C
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7D41C8

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

Preview Lab → · Contrast checker → · Palette generator →

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