#7338B6#7338B6

#7338B6 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.4% C 0.189 H 301.0°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#7338B6
RGBrgb(115, 56, 182)
HSLhsl(268, 53%, 47%)
HSVhsv(268, 69%, 71%)
CMYKcmyk(36.8%, 69.2%, 0%, 28.6%)
CIE-LABlab(37.57, 50.39, -56.89)
CIE-LCHlch(37.57, 76.00, 311.53°)
OKLaboklab(48.41% 0.0972 -0.1621)
OKLCHoklch(48.41% 0.189 301)
XYZxyz(16.9259, 9.8505, 45.2565)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7338B6 #7BB638
analogous
#383CB6 #7338B6 #B238B6
triadic
#7338B6 #B67338 #38B673
tetradic
#7338B6 #B6383C #7BB638 #38B6B2
square
#7338B6 #B6383C #7BB638 #38B6B2
split-complementary
#7338B6 #B6B238 #3CB638
monochromatic
#381B58 #552A87 #7338B6 #925ECD #B28DDC

Accessibility & contrast

On white

7.07
#7338B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7338B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7338B6
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7338B6#FFFFFF#000000##FFFFFF
##7338B61.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BA
Deuteranopia (green-blind)
#0058B3
Tritanopia (blue-blind)
#645673
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7338b6;
/* rgb */ color: rgb(115, 56, 182);
/* oklch */ color: oklch(48.4% 0.189 301.0);
Tailwind
colors: {
  custom: {
    50: '#a173cd',
    500: '#7338b6',
    950: '#000000',
  },
}
SCSS
$custom: #7338b6;
$custom-light: #a173cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7338b6",
  "rgb": {
    "r": 115,
    "g": 56,
    "b": 182
  },
  "hsl": {
    "h": 268.095,
    "s": 52.941,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48407,
    "c": 0.189,
    "h": 301
  },
  "luminance": 0.09851
}

Semantic roles & 50–950 ramp

primary
#7338B6
secondary
#A7C684
accent
#DC4B99
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7338B6

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

Preview Lab → · Contrast checker → · Palette generator →

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