#7334C2#7334C2

#7334C2 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.9% C 0.207 H 298.6°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#7334C2
RGBrgb(115, 52, 194)
HSLhsl(267, 58%, 48%)
HSVhsv(267, 73%, 76%)
CMYKcmyk(40.7%, 73.2%, 0%, 23.9%)
CIE-LABlab(37.83, 55.26, -63.52)
CIE-LCHlch(37.83, 84.20, 311.02°)
OKLaboklab(48.88% 0.0989 -0.1815)
OKLCHoklch(48.88% 0.207 298.6)
XYZxyz(18.0333, 9.9956, 52.0077)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7334C2 #83C234
analogous
#343CC2 #7334C2 #BA34C2
triadic
#7334C2 #C27334 #34C273
tetradic
#7334C2 #C2343C #83C234 #34C2BA
square
#7334C2 #C2343C #83C234 #34C2BA
split-complementary
#7334C2 #C2BA34 #3CC234
monochromatic
#3A1A61 #562792 #7334C2 #935FD4 #B48FE1

Accessibility & contrast

On white

7.00
#7334C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#7334C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7334C2
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7334C2#FFFFFF#000000##FFFFFF
##7334C21.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#0058BF
Tritanopia (blue-blind)
#605878
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7334c2;
/* rgb */ color: rgb(115, 52, 194);
/* oklch */ color: oklch(48.9% 0.207 298.6);
Tailwind
colors: {
  custom: {
    50: '#a271d5',
    500: '#7334c2',
    950: '#000000',
  },
}
SCSS
$custom: #7334c2;
$custom-light: #a271d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7334c2",
  "rgb": {
    "r": 115,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 266.62,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48884,
    "c": 0.20675,
    "h": 298.6
  },
  "luminance": 0.09996
}

Semantic roles & 50–950 ramp

primary
#7334C2
secondary
#ADCC86
accent
#E1479D
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7334C2

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

Preview Lab → · Contrast checker → · Palette generator →

#7334C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva