#7438BD#7438BD

#7438BD is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.1% C 0.197 H 299.7°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#7438BD
RGBrgb(116, 56, 189)
HSLhsl(267, 54%, 48%)
HSVhsv(267, 70%, 74%)
CMYKcmyk(38.6%, 70.4%, 0%, 25.9%)
CIE-LABlab(38.23, 52.33, -59.95)
CIE-LCHlch(38.23, 79.57, 311.12°)
OKLaboklab(49.07% 0.0975 -0.171)
OKLCHoklch(49.07% 0.197 299.7)
XYZxyz(17.7997, 10.2153, 49.1682)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7438BD #81BD38
analogous
#383EBD #7438BD #B738BD
triadic
#7438BD #BD7438 #38BD74
tetradic
#7438BD #BD383E #81BD38 #38BDB7
square
#7438BD #BD383E #81BD38 #38BDB7
split-complementary
#7438BD #BDB738 #3EBD38
monochromatic
#3A1C5F #572A8E #7438BD #9462D0 #B491DE

Accessibility & contrast

On white

6.90
#7438BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#7438BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7438BD
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7438BD#FFFFFF#000000##FFFFFF
##7438BD1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#635877
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7438bd;
/* rgb */ color: rgb(116, 56, 189);
/* oklch */ color: oklch(49.1% 0.197 299.7);
Tailwind
colors: {
  custom: {
    50: '#a273d2',
    500: '#7438bd',
    950: '#000000',
  },
}
SCSS
$custom: #7438bd;
$custom-light: #a273d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7438bd",
  "rgb": {
    "r": 116,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 267.068,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49066,
    "c": 0.19686,
    "h": 299.7
  },
  "luminance": 0.10215
}

Semantic roles & 50–950 ramp

primary
#7438BD
secondary
#ACC987
accent
#DE4A9B
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7438BD

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

Preview Lab → · Contrast checker → · Palette generator →

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