#7338C3#7338C3

#7338C3 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.4% C 0.203 H 297.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#7338C3
RGBrgb(115, 56, 195)
HSLhsl(265, 55%, 49%)
HSVhsv(265, 71%, 76%)
CMYKcmyk(41%, 71.3%, 0%, 23.5%)
CIE-LABlab(38.57, 53.66, -62.90)
CIE-LCHlch(38.57, 82.68, 310.47°)
OKLaboklab(49.43% 0.095 -0.1797)
OKLCHoklch(49.43% 0.203 297.9)
XYZxyz(18.3322, 10.4130, 52.6632)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7338C3 #88C338
analogous
#3843C3 #7338C3 #B938C3
triadic
#7338C3 #C37338 #38C373
tetradic
#7338C3 #C33843 #88C338 #38C3B9
square
#7338C3 #C33843 #88C338 #38C3B9
split-complementary
#7338C3 #C3B938 #43C338
monochromatic
#3B1D64 #572A93 #7338C3 #9465D3 #B595E1

Accessibility & contrast

On white

6.81
#7338C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7338C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7338C3
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7338C3#FFFFFF#000000##FFFFFF
##7338C31.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC7
Deuteranopia (green-blind)
#0059C0
Tritanopia (blue-blind)
#5F5B7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7338c3;
/* rgb */ color: rgb(115, 56, 195);
/* oklch */ color: oklch(49.4% 0.203 297.9);
Tailwind
colors: {
  custom: {
    50: '#a274d6',
    500: '#7338c3',
    950: '#000000',
  },
}
SCSS
$custom: #7338c3;
$custom-light: #a274d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7338c3",
  "rgb": {
    "r": 115,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 265.468,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49432,
    "c": 0.2033,
    "h": 297.9
  },
  "luminance": 0.10413
}

Semantic roles & 50–950 ramp

primary
#7338C3
secondary
#B0CC8B
accent
#DF499F
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7338C3

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

Preview Lab → · Contrast checker → · Palette generator →

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