#7438AF#7438AF

#7438AF is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.0% C 0.181 H 303.3°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#7438AF
RGBrgb(116, 56, 175)
HSLhsl(270, 52%, 45%)
HSVhsv(270, 68%, 69%)
CMYKcmyk(33.7%, 68%, 0%, 31.4%)
CIE-LABlab(37.18, 48.86, -53.37)
CIE-LCHlch(37.18, 72.36, 312.47°)
OKLaboklab(47.99% 0.0996 -0.1517)
OKLCHoklch(47.99% 0.181 303.3)
XYZxyz(16.3527, 9.6365, 41.5477)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7438AF #73AF38
analogous
#3838AF #7438AF #AF38AE
triadic
#7438AF #AF7438 #38AF74
tetradic
#7438AF #AF3838 #73AF38 #38AEAF
square
#7438AF #AF3838 #73AF38 #38AEAF
split-complementary
#7438AF #AEAF38 #38AF38
monochromatic
#371A52 #552981 #7438AF #935ACA #B188D9

Accessibility & contrast

On white

7.17
#7438AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#7438AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7438AF
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7438AF#FFFFFF#000000##FFFFFF
##7438AF1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#0257AC
Tritanopia (blue-blind)
#68536F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7438af;
/* rgb */ color: rgb(116, 56, 175);
/* oklch */ color: oklch(48.0% 0.181 303.3);
Tailwind
colors: {
  custom: {
    50: '#a173c8',
    500: '#7438af',
    950: '#000000',
  },
}
SCSS
$custom: #7438af;
$custom-light: #a173c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7438af",
  "rgb": {
    "r": 116,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 270.252,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47992,
    "c": 0.18146,
    "h": 303.3
  },
  "luminance": 0.09636
}

Semantic roles & 50–950 ramp

primary
#7438AF
secondary
#A1C380
accent
#DB4D93
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7438AF

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

Preview Lab → · Contrast checker → · Palette generator →

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