#7338BB#7338BB

#7338BB is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.8% C 0.195 H 299.7°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#7338BB
RGBrgb(115, 56, 187)
HSLhsl(267, 54%, 48%)
HSVhsv(267, 70%, 73%)
CMYKcmyk(38.5%, 70.1%, 0%, 26.7%)
CIE-LABlab(37.95, 51.64, -59.22)
CIE-LCHlch(37.95, 78.57, 311.09°)
OKLaboklab(48.8% 0.0964 -0.1689)
OKLCHoklch(48.8% 0.195 299.7)
XYZxyz(17.4518, 10.0609, 48.0266)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7338BB #80BB38
analogous
#383FBB #7338BB #B438BB
triadic
#7338BB #BB7338 #38BB73
tetradic
#7338BB #BB383F #80BB38 #38BBB4
square
#7338BB #BB383F #80BB38 #38BBB4
split-complementary
#7338BB #BBB438 #3FBB38
monochromatic
#391C5D #562A8C #7338BB #9361D0 #B390DE

Accessibility & contrast

On white

6.97
#7338BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7338BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7338BB
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7338BB#FFFFFF#000000##FFFFFF
##7338BB1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#625875
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7338bb;
/* rgb */ color: rgb(115, 56, 187);
/* oklch */ color: oklch(48.8% 0.195 299.7);
Tailwind
colors: {
  custom: {
    50: '#a173d0',
    500: '#7338bb',
    950: '#000000',
  },
}
SCSS
$custom: #7338bb;
$custom-light: #a173d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7338bb",
  "rgb": {
    "r": 115,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 267.023,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48796,
    "c": 0.19452,
    "h": 299.7
  },
  "luminance": 0.10061
}

Semantic roles & 50–950 ramp

primary
#7338BB
secondary
#ABC886
accent
#DD4B9B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7338BB

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

Preview Lab → · Contrast checker → · Palette generator →

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