#7F26DD#7F26DD

#7F26DD is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 51.3% C 0.248 H 298.7°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7F26DD
RGBrgb(127, 38, 221)
HSLhsl(269, 73%, 51%)
HSVhsv(269, 83%, 87%)
CMYKcmyk(42.5%, 82.8%, 0%, 13.3%)
CIE-LABlab(39.78, 68.85, -75.91)
CIE-LCHlch(39.78, 102.48, 312.21°)
OKLaboklab(51.27% 0.1193 -0.2174)
OKLCHoklch(51.27% 0.248 298.7)
XYZxyz(22.4933, 11.1184, 69.3536)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F26DD #84DD26
analogous
#2629DD #7F26DD #DA26DD
triadic
#7F26DD #DD7F26 #26DD7F
tetradic
#7F26DD #DD2629 #84DD26 #26DDDA
square
#7F26DD #DD2629 #84DD26 #26DDDA
split-complementary
#7F26DD #DDDA26 #29DD26
monochromatic
#431376 #611BAB #7F26DD #9E5BE5 #BD90EE

Accessibility & contrast

On white

6.51
#7F26DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7F26DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F26DD
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F26DD#FFFFFF#000000##FFFFFF
##7F26DD1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EE2
Deuteranopia (green-blind)
#005CDA
Tritanopia (blue-blind)
#675C85
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7f26dd;
/* rgb */ color: rgb(127, 38, 221);
/* oklch */ color: oklch(51.3% 0.248 298.7);
Tailwind
colors: {
  custom: {
    50: '#ad6ee9',
    500: '#7f26dd',
    950: '#000000',
  },
}
SCSS
$custom: #7f26dd;
$custom-light: #ad6ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f26dd",
  "rgb": {
    "r": 127,
    "g": 38,
    "b": 221
  },
  "hsl": {
    "h": 269.18,
    "s": 72.908,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51274,
    "c": 0.24795,
    "h": 298.7
  },
  "luminance": 0.11119
}

Semantic roles & 50–950 ramp

primary
#7F26DD
secondary
#B1D887
accent
#F03896
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#110816
muted
#807B84

Preview Lab

Preview with #7F26DD

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

Preview Lab → · Contrast checker → · Palette generator →

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