#7D26CD#7D26CD

#7D26CD is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.6% C 0.233 H 301.5°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#7D26CD
RGBrgb(125, 38, 205)
HSLhsl(271, 69%, 48%)
HSVhsv(271, 81%, 80%)
CMYKcmyk(39%, 81.5%, 0%, 19.6%)
CIE-LABlab(38.12, 64.96, -69.42)
CIE-LCHlch(38.12, 95.07, 313.10°)
OKLaboklab(49.64% 0.1216 -0.1984)
OKLCHoklch(49.64% 0.233 301.5)
XYZxyz(20.1673, 10.1539, 58.6432)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D26CD #76CD26
analogous
#2926CD #7D26CD #CD26CA
triadic
#7D26CD #CD7D26 #26CD7D
tetradic
#7D26CD #CD2926 #76CD26 #26CACD
square
#7D26CD #CD2926 #76CD26 #26CACD
split-complementary
#7D26CD #CACD26 #26CD29
monochromatic
#3E1366 #5E1C99 #7D26CD #9B51DF #B985E8

Accessibility & contrast

On white

6.93
#7D26CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7D26CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D26CD
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D26CD#FFFFFF#000000##FFFFFF
##7D26CD1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D1
Deuteranopia (green-blind)
#0059CA
Tritanopia (blue-blind)
#6B567C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7d26cd;
/* rgb */ color: rgb(125, 38, 205);
/* oklch */ color: oklch(49.6% 0.233 301.5);
Tailwind
colors: {
  custom: {
    50: '#aa6cdd',
    500: '#7d26cd',
    950: '#000000',
  },
}
SCSS
$custom: #7d26cd;
$custom-light: #aa6cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d26cd",
  "rgb": {
    "r": 125,
    "g": 38,
    "b": 205
  },
  "hsl": {
    "h": 271.257,
    "s": 68.724,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49642,
    "c": 0.23269,
    "h": 301.5
  },
  "luminance": 0.10154
}

Semantic roles & 50–950 ramp

primary
#7D26CD
secondary
#A6D27D
accent
#EC3C90
background
#FBF6FD
surface
#F6ECFB
border
#D0C7D4
text
#110815
muted
#807A83

Preview Lab

Preview with #7D26CD

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

Preview Lab → · Contrast checker → · Palette generator →

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