#7438C5#7438C5

#7438C5 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.7% C 0.206 H 297.8°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#7438C5
RGBrgb(116, 56, 197)
HSLhsl(266, 56%, 50%)
HSVhsv(266, 72%, 77%)
CMYKcmyk(41.1%, 71.6%, 0%, 22.7%)
CIE-LABlab(38.85, 54.34, -63.61)
CIE-LCHlch(38.85, 83.66, 310.51°)
OKLaboklab(49.71% 0.096 -0.1818)
OKLCHoklch(49.71% 0.206 297.8)
XYZxyz(18.6921, 10.5723, 53.8683)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7438C5 #89C538
analogous
#3843C5 #7438C5 #BB38C5
triadic
#7438C5 #C57438 #38C574
tetradic
#7438C5 #C53843 #89C538 #38C5BB
square
#7438C5 #C53843 #89C538 #38C5BB
split-complementary
#7438C5 #C5BB38 #43C538
monochromatic
#3C1D66 #582A95 #7438C5 #9567D4 #B696E1

Accessibility & contrast

On white

6.74
#7438C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7438C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7438C5
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7438C5#FFFFFF#000000##FFFFFF
##7438C51.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC9
Deuteranopia (green-blind)
#005AC2
Tritanopia (blue-blind)
#605B7B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7438c5;
/* rgb */ color: rgb(116, 56, 197);
/* oklch */ color: oklch(49.7% 0.206 297.8);
Tailwind
colors: {
  custom: {
    50: '#a374d8',
    500: '#7438c5',
    950: '#000000',
  },
}
SCSS
$custom: #7438c5;
$custom-light: #a374d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7438c5",
  "rgb": {
    "r": 116,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 265.532,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.49705,
    "c": 0.20559,
    "h": 297.8
  },
  "luminance": 0.10573
}

Semantic roles & 50–950 ramp

primary
#7438C5
secondary
#B1CD8C
accent
#DF499F
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7438C5

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

Preview Lab → · Contrast checker → · Palette generator →

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