#7B34CD#7B34CD

#7B34CD is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.7% C 0.219 H 299.5°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#7B34CD
RGBrgb(123, 52, 205)
HSLhsl(268, 60%, 50%)
HSVhsv(268, 75%, 80%)
CMYKcmyk(40%, 74.6%, 0%, 19.6%)
CIE-LABlab(39.71, 59.32, -66.83)
CIE-LCHlch(39.71, 89.36, 311.59°)
OKLaboklab(50.7% 0.1079 -0.191)
OKLCHoklch(50.7% 0.219 299.5)
XYZxyz(20.4130, 11.0745, 58.8079)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B34CD #86CD34
analogous
#343ACD #7B34CD #C734CD
triadic
#7B34CD #CD7B34 #34CD7B
tetradic
#7B34CD #CD343A #86CD34 #34CDC7
square
#7B34CD #CD343A #86CD34 #34CDC7
split-complementary
#7B34CD #CDC734 #3ACD34
monochromatic
#401B6C #5E279D #7B34CD #9B65D9 #BB96E5

Accessibility & contrast

On white

6.53
#7B34CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7B34CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B34CD
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B34CD#FFFFFF#000000##FFFFFF
##7B34CD1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD1
Deuteranopia (green-blind)
#005CCA
Tritanopia (blue-blind)
#675C7E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7b34cd;
/* rgb */ color: rgb(123, 52, 205);
/* oklch */ color: oklch(50.7% 0.219 299.5);
Tailwind
colors: {
  custom: {
    50: '#a873dd',
    500: '#7b34cd',
    950: '#000000',
  },
}
SCSS
$custom: #7b34cd;
$custom-light: #a873dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b34cd",
  "rgb": {
    "r": 123,
    "g": 52,
    "b": 205
  },
  "hsl": {
    "h": 267.843,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50695,
    "c": 0.21934,
    "h": 299.5
  },
  "luminance": 0.11075
}

Semantic roles & 50–950 ramp

primary
#7B34CD
secondary
#B1D18C
accent
#E4449A
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7B34CD

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

Preview Lab → · Contrast checker → · Palette generator →

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