#7438BB#7438BB

#7438BB is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.9% C 0.195 H 300.2°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#7438BB
RGBrgb(116, 56, 187)
HSLhsl(267, 54%, 48%)
HSVhsv(267, 70%, 73%)
CMYKcmyk(38%, 70.1%, 0%, 26.7%)
CIE-LABlab(38.07, 51.83, -59.02)
CIE-LCHlch(38.07, 78.55, 311.29°)
OKLaboklab(48.91% 0.0978 -0.1683)
OKLCHoklch(48.91% 0.195 300.2)
XYZxyz(17.5841, 10.1290, 48.0328)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7438BB #7FBB38
analogous
#383EBB #7438BB #B538BB
triadic
#7438BB #BB7438 #38BB74
tetradic
#7438BB #BB383E #7FBB38 #38BBB5
square
#7438BB #BB383E #7FBB38 #38BBB5
split-complementary
#7438BB #BBB538 #3EBB38
monochromatic
#3A1C5D #572A8C #7438BB #9361D0 #B390DE

Accessibility & contrast

On white

6.94
#7438BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7438BB
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7438BB#FFFFFF#000000##FFFFFF
##7438BB1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#645875
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7438bb;
/* rgb */ color: rgb(116, 56, 187);
/* oklch */ color: oklch(48.9% 0.195 300.2);
Tailwind
colors: {
  custom: {
    50: '#a273d0',
    500: '#7438bb',
    950: '#000000',
  },
}
SCSS
$custom: #7438bb;
$custom-light: #a273d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7438bb",
  "rgb": {
    "r": 116,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 267.481,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48909,
    "c": 0.19467,
    "h": 300.2
  },
  "luminance": 0.10129
}

Semantic roles & 50–950 ramp

primary
#7438BB
secondary
#AAC886
accent
#DD4B9A
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7438BB

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

Preview Lab → · Contrast checker → · Palette generator →

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