#7438D4#7438D4

#7438D4 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.9% C 0.222 H 294.7°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#7438D4
RGBrgb(116, 56, 212)
HSLhsl(263, 64%, 53%)
HSVhsv(263, 74%, 83%)
CMYKcmyk(45.3%, 73.6%, 0%, 16.9%)
CIE-LABlab(40.07, 58.15, -70.31)
CIE-LCHlch(40.07, 91.24, 309.59°)
OKLaboklab(50.95% 0.0928 -0.2015)
OKLCHoklch(50.95% 0.222 294.7)
XYZxyz(20.4971, 11.2943, 63.3746)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7438D4 #98D438
analogous
#384AD4 #7438D4 #C238D4
triadic
#7438D4 #D47438 #38D474
tetradic
#7438D4 #D4384A #98D438 #38D4C2
square
#7438D4 #D4384A #98D438 #38D4C2
split-complementary
#7438D4 #D4C238 #4AD438
monochromatic
#3E1A78 #5825AA #7438D4 #976ADF #BA9DEA

Accessibility & contrast

On white

6.44
#7438D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#7438D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7438D4
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7438D4#FFFFFF#000000##FFFFFF
##7438D41.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D8
Deuteranopia (green-blind)
#005CD1
Tritanopia (blue-blind)
#586183
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7438d4;
/* rgb */ color: rgb(116, 56, 212);
/* oklch */ color: oklch(50.9% 0.222 294.7);
Tailwind
colors: {
  custom: {
    50: '#a474e2',
    500: '#7438d4',
    950: '#000000',
  },
}
SCSS
$custom: #7438d4;
$custom-light: #a474e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7438d4",
  "rgb": {
    "r": 116,
    "g": 56,
    "b": 212
  },
  "hsl": {
    "h": 263.077,
    "s": 64.463,
    "l": 52.549
  },
  "oklch": {
    "l": 0.50946,
    "c": 0.2218,
    "h": 294.7
  },
  "luminance": 0.11295
}

Semantic roles & 50–950 ramp

primary
#7438D4
secondary
#BCD692
accent
#E740A7
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #7438D4

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

Preview Lab → · Contrast checker → · Palette generator →

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