#7338B7#7338B7

#7338B7 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.5% C 0.190 H 300.7°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#7338B7
RGBrgb(115, 56, 183)
HSLhsl(268, 53%, 47%)
HSVhsv(268, 69%, 72%)
CMYKcmyk(37.2%, 69.4%, 0%, 28.2%)
CIE-LABlab(37.65, 50.64, -57.36)
CIE-LCHlch(37.65, 76.51, 311.44°)
OKLaboklab(48.48% 0.0971 -0.1635)
OKLCHoklch(48.48% 0.19 300.7)
XYZxyz(17.0296, 9.8920, 45.8027)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7338B7 #7CB738
analogous
#383DB7 #7338B7 #B338B7
triadic
#7338B7 #B77338 #38B773
tetradic
#7338B7 #B7383D #7CB738 #38B7B3
square
#7338B7 #B7383D #7CB738 #38B7B3
split-complementary
#7338B7 #B7B338 #3DB738
monochromatic
#381B59 #562A88 #7338B7 #925ECE #B28DDC

Accessibility & contrast

On white

7.05
#7338B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#7338B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7338B7
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7338B7#FFFFFF#000000##FFFFFF
##7338B71.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#0058B4
Tritanopia (blue-blind)
#645673
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7338b7;
/* rgb */ color: rgb(115, 56, 183);
/* oklch */ color: oklch(48.5% 0.190 300.7);
Tailwind
colors: {
  custom: {
    50: '#a173cd',
    500: '#7338b7',
    950: '#000000',
  },
}
SCSS
$custom: #7338b7;
$custom-light: #a173cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7338b7",
  "rgb": {
    "r": 115,
    "g": 56,
    "b": 183
  },
  "hsl": {
    "h": 267.874,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.48484,
    "c": 0.19011,
    "h": 300.7
  },
  "luminance": 0.09892
}

Semantic roles & 50–950 ramp

primary
#7338B7
secondary
#A8C784
accent
#DD4B99
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #7338B7

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

Preview Lab → · Contrast checker → · Palette generator →

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