#7438C4#7438C4

#7438C4 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.6% C 0.204 H 298.1°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#7438C4
RGBrgb(116, 56, 196)
HSLhsl(266, 56%, 49%)
HSVhsv(266, 71%, 77%)
CMYKcmyk(40.8%, 71.4%, 0%, 23.1%)
CIE-LABlab(38.77, 54.09, -63.16)
CIE-LCHlch(38.77, 83.15, 310.58°)
OKLaboklab(49.62% 0.0962 -0.1805)
OKLCHoklch(49.62% 0.205 298.1)
XYZxyz(18.5779, 10.5266, 53.2669)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7438C4 #88C438
analogous
#3842C4 #7438C4 #BA38C4
triadic
#7438C4 #C47438 #38C474
tetradic
#7438C4 #C43842 #88C438 #38C4BA
square
#7438C4 #C43842 #88C438 #38C4BA
split-complementary
#7438C4 #C4BA38 #42C438
monochromatic
#3C1D65 #582A94 #7438C4 #9566D3 #B696E1

Accessibility & contrast

On white

6.76
#7438C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7438C4
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7438C4#FFFFFF#000000##FFFFFF
##7438C41.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC8
Deuteranopia (green-blind)
#005AC1
Tritanopia (blue-blind)
#605B7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7438c4;
/* rgb */ color: rgb(116, 56, 196);
/* oklch */ color: oklch(49.6% 0.204 298.1);
Tailwind
colors: {
  custom: {
    50: '#a374d7',
    500: '#7438c4',
    950: '#000000',
  },
}
SCSS
$custom: #7438c4;
$custom-light: #a374d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7438c4",
  "rgb": {
    "r": 116,
    "g": 56,
    "b": 196
  },
  "hsl": {
    "h": 265.714,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49624,
    "c": 0.2045,
    "h": 298.1
  },
  "luminance": 0.10527
}

Semantic roles & 50–950 ramp

primary
#7438C4
secondary
#B1CC8C
accent
#DF499F
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7438C4

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

Preview Lab → · Contrast checker → · Palette generator →

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