#7C25BD#7C25BD

#7C25BD is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.1% C 0.218 H 305.1°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#7C25BD
RGBrgb(124, 37, 189)
HSLhsl(274, 67%, 44%)
HSVhsv(274, 80%, 74%)
CMYKcmyk(34.4%, 80.4%, 0%, 25.9%)
CIE-LABlab(36.52, 61.57, -62.68)
CIE-LCHlch(36.52, 87.86, 314.49°)
OKLaboklab(48.09% 0.1255 -0.1786)
OKLCHoklch(48.09% 0.218 305.1)
XYZxyz(18.1570, 9.2825, 48.9694)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C25BD #66BD25
analogous
#3025BD #7C25BD #BD25B2
triadic
#7C25BD #BD7C25 #25BD7C
tetradic
#7C25BD #BD3025 #66BD25 #25B2BD
square
#7C25BD #BD3025 #66BD25 #25B2BD
split-complementary
#7C25BD #B2BD25 #25BD30
monochromatic
#391157 #5A1B8A #7C25BD #9A45DB #B678E5

Accessibility & contrast

On white

7.35
#7C25BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7C25BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C25BD
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C25BD#FFFFFF#000000##FFFFFF
##7C25BD1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#0056BA
Tritanopia (blue-blind)
#704E72
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7c25bd;
/* rgb */ color: rgb(124, 37, 189);
/* oklch */ color: oklch(48.1% 0.218 305.1);
Tailwind
colors: {
  custom: {
    50: '#a86bd2',
    500: '#7c25bd',
    950: '#000000',
  },
}
SCSS
$custom: #7c25bd;
$custom-light: #a86bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c25bd",
  "rgb": {
    "r": 124,
    "g": 37,
    "b": 189
  },
  "hsl": {
    "h": 274.342,
    "s": 67.257,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48092,
    "c": 0.21834,
    "h": 305.1
  },
  "luminance": 0.09282
}

Semantic roles & 50–950 ramp

primary
#7C25BD
secondary
#98CC72
accent
#EA3E87
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7C25BD

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

Preview Lab → · Contrast checker → · Palette generator →

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