#7438BC#7438BC

#7438BC is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.0% C 0.196 H 299.9°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#7438BC
RGBrgb(116, 56, 188)
HSLhsl(267, 54%, 48%)
HSVhsv(267, 70%, 74%)
CMYKcmyk(38.3%, 70.2%, 0%, 26.3%)
CIE-LABlab(38.15, 52.08, -59.48)
CIE-LCHlch(38.15, 79.06, 311.20°)
OKLaboklab(48.99% 0.0977 -0.1697)
OKLCHoklch(48.99% 0.196 299.9)
XYZxyz(17.6915, 10.1720, 48.5985)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7438BC #80BC38
analogous
#383EBC #7438BC #B638BC
triadic
#7438BC #BC7438 #38BC74
tetradic
#7438BC #BC383E #80BC38 #38BCB6
square
#7438BC #BC383E #80BC38 #38BCB6
split-complementary
#7438BC #BCB638 #3EBC38
monochromatic
#3A1C5E #572A8D #7438BC #9461D0 #B490DE

Accessibility & contrast

On white

6.92
#7438BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7438BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7438BC
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7438BC#FFFFFF#000000##FFFFFF
##7438BC1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#645876
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7438bc;
/* rgb */ color: rgb(116, 56, 188);
/* oklch */ color: oklch(49.0% 0.196 299.9);
Tailwind
colors: {
  custom: {
    50: '#a273d1',
    500: '#7438bc',
    950: '#000000',
  },
}
SCSS
$custom: #7438bc;
$custom-light: #a273d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7438bc",
  "rgb": {
    "r": 116,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 267.273,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48987,
    "c": 0.19577,
    "h": 299.9
  },
  "luminance": 0.10172
}

Semantic roles & 50–950 ramp

primary
#7438BC
secondary
#ABC987
accent
#DD4A9B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7438BC

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

Preview Lab → · Contrast checker → · Palette generator →

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