#7D33BB#7D33BB

#7D33BB is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.4% C 0.202 H 304.8°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#7D33BB
RGBrgb(125, 51, 187)
HSLhsl(273, 57%, 47%)
HSVhsv(273, 73%, 73%)
CMYKcmyk(33.2%, 72.7%, 0%, 26.7%)
CIE-LABlab(38.40, 55.84, -58.43)
CIE-LCHlch(38.40, 80.82, 313.70°)
OKLaboklab(49.39% 0.1154 -0.1662)
OKLCHoklch(49.39% 0.202 304.8)
XYZxyz(18.6089, 10.3156, 48.0148)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D33BB #71BB33
analogous
#3933BB #7D33BB #BB33B5
triadic
#7D33BB #BB7D33 #33BB7D
tetradic
#7D33BB #BB3933 #71BB33 #33B5BB
square
#7D33BB #BB3933 #71BB33 #33B5BB
split-complementary
#7D33BB #B5BB33 #33BB39
monochromatic
#3D195B #5D268B #7D33BB #9B59D2 #B889DF

Accessibility & contrast

On white

6.86
#7D33BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7D33BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D33BB
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D33BB#FFFFFF#000000##FFFFFF
##7D33BB1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#005AB8
Tritanopia (blue-blind)
#715474
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7d33bb;
/* rgb */ color: rgb(125, 51, 187);
/* oklch */ color: oklch(49.4% 0.202 304.8);
Tailwind
colors: {
  custom: {
    50: '#a871d0',
    500: '#7d33bb',
    950: '#000000',
  },
}
SCSS
$custom: #7d33bb;
$custom-light: #a871d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d33bb",
  "rgb": {
    "r": 125,
    "g": 51,
    "b": 187
  },
  "hsl": {
    "h": 272.647,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49393,
    "c": 0.20234,
    "h": 304.8
  },
  "luminance": 0.10315
}

Semantic roles & 50–950 ramp

primary
#7D33BB
secondary
#A2C981
accent
#E0478D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7D33BB

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

Preview Lab → · Contrast checker → · Palette generator →

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