#7438B8#7438B8

#7438B8 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.7% C 0.191 H 300.9°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#7438B8
RGBrgb(116, 56, 184)
HSLhsl(268, 53%, 47%)
HSVhsv(268, 70%, 72%)
CMYKcmyk(37%, 69.6%, 0%, 27.8%)
CIE-LABlab(37.85, 51.08, -57.62)
CIE-LCHlch(37.85, 77.00, 311.56°)
OKLaboklab(48.68% 0.0983 -0.1642)
OKLCHoklch(48.68% 0.191 300.9)
XYZxyz(17.2663, 10.0019, 46.3590)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7438B8 #7CB838
analogous
#383CB8 #7438B8 #B438B8
triadic
#7438B8 #B87438 #38B874
tetradic
#7438B8 #B8383C #7CB838 #38B8B4
square
#7438B8 #B8383C #7CB838 #38B8B4
split-complementary
#7438B8 #B8B438 #3CB838
monochromatic
#391B5A #562A89 #7438B8 #935FCE #B38EDD

Accessibility & contrast

On white

7.00
#7438B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#7438B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7438B8
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7438B8#FFFFFF#000000##FFFFFF
##7438B81.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7438b8;
/* rgb */ color: rgb(116, 56, 184);
/* oklch */ color: oklch(48.7% 0.191 300.9);
Tailwind
colors: {
  custom: {
    50: '#a173ce',
    500: '#7438b8',
    950: '#000000',
  },
}
SCSS
$custom: #7438b8;
$custom-light: #a173ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7438b8",
  "rgb": {
    "r": 116,
    "g": 56,
    "b": 184
  },
  "hsl": {
    "h": 268.125,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48676,
    "c": 0.19138,
    "h": 300.9
  },
  "luminance": 0.10002
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7438B8

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

Preview Lab → · Contrast checker → · Palette generator →

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