#7338BC#7338BC

#7338BC is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.9% C 0.196 H 299.5°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#7338BC
RGBrgb(115, 56, 188)
HSLhsl(267, 54%, 48%)
HSVhsv(267, 70%, 74%)
CMYKcmyk(38.8%, 70.2%, 0%, 26.3%)
CIE-LABlab(38.03, 51.89, -59.69)
CIE-LCHlch(38.03, 79.09, 311.00°)
OKLaboklab(48.87% 0.0963 -0.1703)
OKLCHoklch(48.87% 0.196 299.5)
XYZxyz(17.5592, 10.1038, 48.5923)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7338BC #81BC38
analogous
#383FBC #7338BC #B538BC
triadic
#7338BC #BC7338 #38BC73
tetradic
#7338BC #BC383F #81BC38 #38BCB5
square
#7338BC #BC383F #81BC38 #38BCB5
split-complementary
#7338BC #BCB538 #3FBC38
monochromatic
#391C5E #562A8D #7338BC #9361D0 #B390DE

Accessibility & contrast

On white

6.95
#7338BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7338BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7338BC
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7338BC#FFFFFF#000000##FFFFFF
##7338BC1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#625876
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7338bc;
/* rgb */ color: rgb(115, 56, 188);
/* oklch */ color: oklch(48.9% 0.196 299.5);
Tailwind
colors: {
  custom: {
    50: '#a173d1',
    500: '#7338bc',
    950: '#000000',
  },
}
SCSS
$custom: #7338bc;
$custom-light: #a173d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7338bc",
  "rgb": {
    "r": 115,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 266.818,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48874,
    "c": 0.19561,
    "h": 299.5
  },
  "luminance": 0.10104
}

Semantic roles & 50–950 ramp

primary
#7338BC
secondary
#ABC987
accent
#DD4A9C
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7338BC

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

Preview Lab → · Contrast checker → · Palette generator →

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