#7338B2#7338B2

#7338B2 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.1% C 0.185 H 302.0°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#7338B2
RGBrgb(115, 56, 178)
HSLhsl(269, 52%, 46%)
HSVhsv(269, 69%, 70%)
CMYKcmyk(35.4%, 68.5%, 0%, 30.2%)
CIE-LABlab(37.28, 49.39, -55.01)
CIE-LCHlch(37.28, 73.93, 311.92°)
OKLaboklab(48.1% 0.0978 -0.1565)
OKLCHoklch(48.1% 0.185 302)
XYZxyz(16.5184, 9.6875, 43.1105)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7338B2 #77B238
analogous
#383AB2 #7338B2 #B038B2
triadic
#7338B2 #B27338 #38B273
tetradic
#7338B2 #B2383A #77B238 #38B2B0
square
#7338B2 #B2383A #77B238 #38B2B0
split-complementary
#7338B2 #B2B038 #3AB238
monochromatic
#371B55 #552983 #7338B2 #925CCC #B18ADA

Accessibility & contrast

On white

7.15
#7338B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#7338B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7338B2
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7338B2#FFFFFF#000000##FFFFFF
##7338B21.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#0057AF
Tritanopia (blue-blind)
#665470
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7338b2;
/* rgb */ color: rgb(115, 56, 178);
/* oklch */ color: oklch(48.1% 0.185 302.0);
Tailwind
colors: {
  custom: {
    50: '#a073ca',
    500: '#7338b2',
    950: '#000000',
  },
}
SCSS
$custom: #7338b2;
$custom-light: #a073ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7338b2",
  "rgb": {
    "r": 115,
    "g": 56,
    "b": 178
  },
  "hsl": {
    "h": 269.016,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48101,
    "c": 0.18458,
    "h": 302
  },
  "luminance": 0.09688
}

Semantic roles & 50–950 ramp

primary
#7338B2
secondary
#A4C581
accent
#DC4C96
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7338B2

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

Preview Lab → · Contrast checker → · Palette generator →

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