#7338B8#7338B8

#7338B8 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.6% C 0.191 H 300.5°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#7338B8
RGBrgb(115, 56, 184)
HSLhsl(268, 53%, 47%)
HSVhsv(268, 70%, 72%)
CMYKcmyk(37.5%, 69.6%, 0%, 27.8%)
CIE-LABlab(37.72, 50.89, -57.83)
CIE-LCHlch(37.72, 77.03, 311.35°)
OKLaboklab(48.56% 0.0969 -0.1648)
OKLCHoklch(48.56% 0.191 300.5)
XYZxyz(17.1340, 9.9337, 46.3528)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7338B8 #7DB838
analogous
#383DB8 #7338B8 #B338B8
triadic
#7338B8 #B87338 #38B873
tetradic
#7338B8 #B8383D #7DB838 #38B8B3
square
#7338B8 #B8383D #7DB838 #38B8B3
split-complementary
#7338B8 #B8B338 #3DB838
monochromatic
#381B5A #562A89 #7338B8 #925FCE #B28EDD

Accessibility & contrast

On white

7.03
#7338B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7338B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7338B8
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7338B8#FFFFFF#000000##FFFFFF
##7338B81.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BC
Deuteranopia (green-blind)
#0058B5
Tritanopia (blue-blind)
#645674
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7338b8;
/* rgb */ color: rgb(115, 56, 184);
/* oklch */ color: oklch(48.6% 0.191 300.5);
Tailwind
colors: {
  custom: {
    50: '#a173ce',
    500: '#7338b8',
    950: '#000000',
  },
}
SCSS
$custom: #7338b8;
$custom-light: #a173ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7338b8",
  "rgb": {
    "r": 115,
    "g": 56,
    "b": 184
  },
  "hsl": {
    "h": 267.656,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48561,
    "c": 0.19121,
    "h": 300.5
  },
  "luminance": 0.09934
}

Semantic roles & 50–950 ramp

primary
#7338B8
secondary
#A8C785
accent
#DD4B9A
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #7338B8

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

Preview Lab → · Contrast checker → · Palette generator →

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