#7D33D2#7D33D2

#7D33D2 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.2% C 0.226 H 299.3°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#7D33D2
RGBrgb(125, 51, 210)
HSLhsl(268, 64%, 51%)
HSVhsv(268, 76%, 82%)
CMYKcmyk(40.5%, 75.7%, 0%, 17.6%)
CIE-LABlab(40.21, 61.26, -68.88)
CIE-LCHlch(40.21, 92.19, 311.65°)
OKLaboklab(51.23% 0.1103 -0.1969)
OKLCHoklch(51.23% 0.226 299.3)
XYZxyz(21.2712, 11.3805, 62.0362)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D33D2 #88D233
analogous
#3338D2 #7D33D2 #CD33D2
triadic
#7D33D2 #D27D33 #33D27D
tetradic
#7D33D2 #D23338 #88D233 #33D2CD
square
#7D33D2 #D23338 #88D233 #33D2CD
split-complementary
#7D33D2 #D2CD33 #38D233
monochromatic
#421972 #5F24A4 #7D33D2 #9D65DD #BD97E8

Accessibility & contrast

On white

6.41
#7D33D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#7D33D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D33D2
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D33D2#FFFFFF#000000##FFFFFF
##7D33D21.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD6
Deuteranopia (green-blind)
#005DCF
Tritanopia (blue-blind)
#685D81
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7d33d2;
/* rgb */ color: rgb(125, 51, 210);
/* oklch */ color: oklch(51.2% 0.226 299.3);
Tailwind
colors: {
  custom: {
    50: '#aa72e1',
    500: '#7d33d2',
    950: '#000000',
  },
}
SCSS
$custom: #7d33d2;
$custom-light: #aa72e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d33d2",
  "rgb": {
    "r": 125,
    "g": 51,
    "b": 210
  },
  "hsl": {
    "h": 267.925,
    "s": 63.855,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51233,
    "c": 0.22574,
    "h": 299.3
  },
  "luminance": 0.11381
}

Semantic roles & 50–950 ramp

primary
#7D33D2
secondary
#B3D48D
accent
#E7419A
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7D33D2

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

Preview Lab → · Contrast checker → · Palette generator →

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