#7D33B3#7D33B3

#7D33B3 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.8% C 0.194 H 307.0°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#7D33B3
RGBrgb(125, 51, 179)
HSLhsl(275, 56%, 45%)
HSVhsv(275, 72%, 70%)
CMYKcmyk(30.2%, 71.5%, 0%, 29.8%)
CIE-LABlab(37.81, 53.99, -54.67)
CIE-LCHlch(37.81, 76.84, 314.64°)
OKLaboklab(48.79% 0.1167 -0.1552)
OKLCHoklch(48.79% 0.194 307)
XYZxyz(17.7762, 9.9825, 43.6294)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D33B3 #69B333
analogous
#3D33B3 #7D33B3 #B333A9
triadic
#7D33B3 #B37D33 #33B37D
tetradic
#7D33B3 #B33D33 #69B333 #33A9B3
square
#7D33B3 #B33D33 #69B333 #33A9B3
split-complementary
#7D33B3 #A9B333 #33B33D
monochromatic
#3A1854 #5C2583 #7D33B3 #9B55CE #B784DC

Accessibility & contrast

On white

7.01
#7D33B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#7D33B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D33B3
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D33B3#FFFFFF#000000##FFFFFF
##7D33B31.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#035AB0
Tritanopia (blue-blind)
#745170
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7d33b3;
/* rgb */ color: rgb(125, 51, 179);
/* oklch */ color: oklch(48.8% 0.194 307.0);
Tailwind
colors: {
  custom: {
    50: '#a771cb',
    500: '#7d33b3',
    950: '#000000',
  },
}
SCSS
$custom: #7d33b3;
$custom-light: #a771cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d33b3",
  "rgb": {
    "r": 125,
    "g": 51,
    "b": 179
  },
  "hsl": {
    "h": 274.688,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48787,
    "c": 0.19417,
    "h": 307
  },
  "luminance": 0.09982
}

Semantic roles & 50–950 ramp

primary
#7D33B3
secondary
#9BC67C
accent
#DF4988
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D33B3

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

Preview Lab → · Contrast checker → · Palette generator →

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