#7338B9#7338B9

#7338B9 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.6% C 0.192 H 300.2°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#7338B9
RGBrgb(115, 56, 185)
HSLhsl(267, 54%, 47%)
HSVhsv(267, 70%, 73%)
CMYKcmyk(37.8%, 69.7%, 0%, 27.5%)
CIE-LABlab(37.80, 51.14, -58.29)
CIE-LCHlch(37.80, 77.54, 311.26°)
OKLaboklab(48.64% 0.0968 -0.1662)
OKLCHoklch(48.64% 0.192 300.2)
XYZxyz(17.2392, 9.9758, 46.9068)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7338B9 #7EB938
analogous
#383DB9 #7338B9 #B438B9
triadic
#7338B9 #B97338 #38B973
tetradic
#7338B9 #B9383D #7EB938 #38B9B4
square
#7338B9 #B9383D #7EB938 #38B9B4
split-complementary
#7338B9 #B9B438 #3DB938
monochromatic
#391C5B #562A8A #7338B9 #925FCF #B28EDD

Accessibility & contrast

On white

7.01
#7338B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#7338B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7338B9
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7338B9#FFFFFF#000000##FFFFFF
##7338B91.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#0058B6
Tritanopia (blue-blind)
#635774
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7338b9;
/* rgb */ color: rgb(115, 56, 185);
/* oklch */ color: oklch(48.6% 0.192 300.2);
Tailwind
colors: {
  custom: {
    50: '#a173cf',
    500: '#7338b9',
    950: '#000000',
  },
}
SCSS
$custom: #7338b9;
$custom-light: #a173cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7338b9",
  "rgb": {
    "r": 115,
    "g": 56,
    "b": 185
  },
  "hsl": {
    "h": 267.442,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48639,
    "c": 0.19231,
    "h": 300.2
  },
  "luminance": 0.09976
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7338B9

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

Preview Lab → · Contrast checker → · Palette generator →

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