#7338BD#7338BD

#7338BD is a mid, vivid violet. Relative luminance 0.101; OKLCH L 49.0% C 0.197 H 299.2°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#7338BD
RGBrgb(115, 56, 189)
HSLhsl(267, 54%, 48%)
HSVhsv(267, 70%, 74%)
CMYKcmyk(39.2%, 70.4%, 0%, 25.9%)
CIE-LABlab(38.11, 52.14, -60.15)
CIE-LCHlch(38.11, 79.60, 310.92°)
OKLaboklab(48.95% 0.0961 -0.1716)
OKLCHoklch(48.95% 0.197 299.2)
XYZxyz(17.6674, 10.1471, 49.1620)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7338BD #82BD38
analogous
#383FBD #7338BD #B638BD
triadic
#7338BD #BD7338 #38BD73
tetradic
#7338BD #BD383F #82BD38 #38BDB6
square
#7338BD #BD383F #82BD38 #38BDB6
split-complementary
#7338BD #BDB638 #3FBD38
monochromatic
#3A1C5F #562A8E #7338BD #9362D0 #B391DE

Accessibility & contrast

On white

6.93
#7338BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7338BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7338BD
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7338BD#FFFFFF#000000##FFFFFF
##7338BD1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#625876
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7338bd;
/* rgb */ color: rgb(115, 56, 189);
/* oklch */ color: oklch(49.0% 0.197 299.2);
Tailwind
colors: {
  custom: {
    50: '#a173d2',
    500: '#7338bd',
    950: '#000000',
  },
}
SCSS
$custom: #7338bd;
$custom-light: #a173d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7338bd",
  "rgb": {
    "r": 115,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 266.617,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48953,
    "c": 0.19672,
    "h": 299.2
  },
  "luminance": 0.10147
}

Semantic roles & 50–950 ramp

primary
#7338BD
secondary
#ACC987
accent
#DE4A9C
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7338BD

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

Preview Lab → · Contrast checker → · Palette generator →

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