#7334CA#7334CA

#7334CA is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.5% C 0.215 H 296.8°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#7334CA
RGBrgb(115, 52, 202)
HSLhsl(265, 59%, 50%)
HSVhsv(265, 74%, 79%)
CMYKcmyk(43.1%, 74.3%, 0%, 20.8%)
CIE-LABlab(38.49, 57.26, -67.12)
CIE-LCHlch(38.49, 88.22, 310.47°)
OKLaboklab(49.55% 0.0971 -0.1921)
OKLCHoklch(49.55% 0.215 296.8)
XYZxyz(18.9561, 10.3647, 56.8675)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7334CA #8BCA34
analogous
#3440CA #7334CA #BE34CA
triadic
#7334CA #CA7334 #34CA73
tetradic
#7334CA #CA3440 #8BCA34 #34CABE
square
#7334CA #CA3440 #8BCA34 #34CABE
split-complementary
#7334CA #CABE34 #40CA34
monochromatic
#3C1B69 #572799 #7334CA #9464D7 #B695E4

Accessibility & contrast

On white

6.83
#7334CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7334CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7334CA
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7334CA#FFFFFF#000000##FFFFFF
##7334CA1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCE
Deuteranopia (green-blind)
#0059C7
Tritanopia (blue-blind)
#5C5B7D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7334ca;
/* rgb */ color: rgb(115, 52, 202);
/* oklch */ color: oklch(49.5% 0.215 296.8);
Tailwind
colors: {
  custom: {
    50: '#a372db',
    500: '#7334ca',
    950: '#000000',
  },
}
SCSS
$custom: #7334ca;
$custom-light: #a372db;
$custom-dark: #000000;
JSON
{
  "hex": "#7334ca",
  "rgb": {
    "r": 115,
    "g": 52,
    "b": 202
  },
  "hsl": {
    "h": 265.2,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.49549,
    "c": 0.21525,
    "h": 296.8
  },
  "luminance": 0.10365
}

Semantic roles & 50–950 ramp

primary
#7334CA
secondary
#B2CF8B
accent
#E246A0
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7334CA

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

Preview Lab → · Contrast checker → · Palette generator →

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