#7B34DD#7B34DD

#7B34DD is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 52.0% C 0.236 H 296.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7B34DD
RGBrgb(123, 52, 221)
HSLhsl(265, 71%, 54%)
HSVhsv(265, 76%, 87%)
CMYKcmyk(44.3%, 76.5%, 0%, 13.3%)
CIE-LABlab(41.04, 63.20, -73.87)
CIE-LCHlch(41.04, 97.22, 310.55°)
OKLaboklab(52.04% 0.1038 -0.2116)
OKLCHoklch(52.04% 0.236 296.1)
XYZxyz(22.4440, 11.8869, 69.5045)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B34DD #96DD34
analogous
#3441DD #7B34DD #CF34DD
triadic
#7B34DD #DD7B34 #34DD7B
tetradic
#7B34DD #DD3441 #96DD34 #34DDCF
square
#7B34DD #DD3441 #96DD34 #34DDCF
split-complementary
#7B34DD #DDCF34 #41DD34
monochromatic
#431681 #5E1EB5 #7B34DD #9D68E6 #BF9DEF

Accessibility & contrast

On white

6.22
#7B34DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7B34DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B34DD
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B34DD#FFFFFF#000000##FFFFFF
##7B34DD1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E2
Deuteranopia (green-blind)
#005EDA
Tritanopia (blue-blind)
#606288
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7b34dd;
/* rgb */ color: rgb(123, 52, 221);
/* oklch */ color: oklch(52.0% 0.236 296.1);
Tailwind
colors: {
  custom: {
    50: '#aa73e9',
    500: '#7b34dd',
    950: '#000000',
  },
}
SCSS
$custom: #7b34dd;
$custom-light: #aa73e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b34dd",
  "rgb": {
    "r": 123,
    "g": 52,
    "b": 221
  },
  "hsl": {
    "h": 265.207,
    "s": 71.308,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52038,
    "c": 0.23574,
    "h": 296.1
  },
  "luminance": 0.11887
}

Semantic roles & 50–950 ramp

primary
#7B34DD
secondary
#BCDB92
accent
#EE3AA2
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7B34DD

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

Preview Lab → · Contrast checker → · Palette generator →

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