#7B25C1#7B25C1

#7B25C1 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.3% C 0.222 H 303.7°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#7B25C1
RGBrgb(123, 37, 193)
HSLhsl(273, 68%, 45%)
HSVhsv(273, 81%, 76%)
CMYKcmyk(36.3%, 80.8%, 0%, 24.3%)
CIE-LABlab(36.71, 62.31, -64.72)
CIE-LCHlch(36.71, 89.84, 313.91°)
OKLaboklab(48.3% 0.123 -0.1847)
OKLCHoklch(48.3% 0.222 303.7)
XYZxyz(18.4533, 9.3844, 51.2809)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B25C1 #6BC125
analogous
#2D25C1 #7B25C1 #C125B9
triadic
#7B25C1 #C17B25 #25C17B
tetradic
#7B25C1 #C12D25 #6BC125 #25B9C1
square
#7B25C1 #C12D25 #6BC125 #25B9C1
split-complementary
#7B25C1 #B9C125 #25C12D
monochromatic
#3A115A #5A1B8E #7B25C1 #9947DC #B67BE6

Accessibility & contrast

On white

7.30
#7B25C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#7B25C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B25C1
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B25C1#FFFFFF#000000##FFFFFF
##7B25C11.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C5
Deuteranopia (green-blind)
#0056BE
Tritanopia (blue-blind)
#6D5074
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7b25c1;
/* rgb */ color: rgb(123, 37, 193);
/* oklch */ color: oklch(48.3% 0.222 303.7);
Tailwind
colors: {
  custom: {
    50: '#a86bd5',
    500: '#7b25c1',
    950: '#000000',
  },
}
SCSS
$custom: #7b25c1;
$custom-light: #a86bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b25c1",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 193
  },
  "hsl": {
    "h": 273.077,
    "s": 67.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48298,
    "c": 0.22189,
    "h": 303.7
  },
  "luminance": 0.09384
}

Semantic roles & 50–950 ramp

primary
#7B25C1
secondary
#9CCE74
accent
#EB3D8B
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7B25C1

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

Preview Lab → · Contrast checker → · Palette generator →

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