#7338C7#7338C7

#7338C7 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.8% C 0.208 H 297.0°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#7338C7
RGBrgb(115, 56, 199)
HSLhsl(265, 56%, 50%)
HSVhsv(265, 72%, 78%)
CMYKcmyk(42.2%, 71.9%, 0%, 22%)
CIE-LABlab(38.89, 54.67, -64.71)
CIE-LCHlch(38.89, 84.72, 310.19°)
OKLaboklab(49.76% 0.0942 -0.1851)
OKLCHoklch(49.76% 0.208 297)
XYZxyz(18.7905, 10.5963, 55.0770)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7338C7 #8CC738
analogous
#3845C7 #7338C7 #BA38C7
triadic
#7338C7 #C77338 #38C773
tetradic
#7338C7 #C73845 #8CC738 #38C7BA
square
#7338C7 #C73845 #8CC738 #38C7BA
split-complementary
#7338C7 #C7BA38 #45C738
monochromatic
#3C1D67 #572B97 #7338C7 #9568D4 #B698E2

Accessibility & contrast

On white

6.73
#7338C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7338C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7338C7
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7338C7#FFFFFF#000000##FFFFFF
##7338C71.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCB
Deuteranopia (green-blind)
#005AC4
Tritanopia (blue-blind)
#5D5C7C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7338c7;
/* rgb */ color: rgb(115, 56, 199);
/* oklch */ color: oklch(49.8% 0.208 297.0);
Tailwind
colors: {
  custom: {
    50: '#a274d9',
    500: '#7338c7',
    950: '#000000',
  },
}
SCSS
$custom: #7338c7;
$custom-light: #a274d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7338c7",
  "rgb": {
    "r": 115,
    "g": 56,
    "b": 199
  },
  "hsl": {
    "h": 264.755,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.49757,
    "c": 0.20766,
    "h": 297
  },
  "luminance": 0.10597
}

Semantic roles & 50–950 ramp

primary
#7338C7
secondary
#B3CD8D
accent
#DF48A1
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7338C7

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

Preview Lab → · Contrast checker → · Palette generator →

#7338C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva