#7438CD#7438CD

#7438CD is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.4% C 0.214 H 296.1°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#7438CD
RGBrgb(116, 56, 205)
HSLhsl(264, 60%, 51%)
HSVhsv(264, 73%, 80%)
CMYKcmyk(43.4%, 72.7%, 0%, 19.6%)
CIE-LABlab(39.49, 56.37, -67.21)
CIE-LCHlch(39.49, 87.72, 309.99°)
OKLaboklab(50.36% 0.0944 -0.1924)
OKLCHoklch(50.36% 0.214 296.1)
XYZxyz(19.6332, 10.9487, 58.8247)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7438CD #91CD38
analogous
#3846CD #7438CD #BE38CD
triadic
#7438CD #CD7438 #38CD74
tetradic
#7438CD #CD3846 #91CD38 #38CDBE
square
#7438CD #CD3846 #91CD38 #38CDBE
split-complementary
#7438CD #CDBE38 #46CD38
monochromatic
#3D1C6F #5828A0 #7438CD #9669D9 #B89AE6

Accessibility & contrast

On white

6.58
#7438CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7438CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7438CD
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7438CD#FFFFFF#000000##FFFFFF
##7438CD1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED1
Deuteranopia (green-blind)
#005BCA
Tritanopia (blue-blind)
#5C5F7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7438cd;
/* rgb */ color: rgb(116, 56, 205);
/* oklch */ color: oklch(50.4% 0.214 296.1);
Tailwind
colors: {
  custom: {
    50: '#a474dd',
    500: '#7438cd',
    950: '#000000',
  },
}
SCSS
$custom: #7438cd;
$custom-light: #a474dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7438cd",
  "rgb": {
    "r": 116,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 264.161,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5036,
    "c": 0.21427,
    "h": 296.1
  },
  "luminance": 0.10949
}

Semantic roles & 50–950 ramp

primary
#7438CD
secondary
#B7D18F
accent
#E345A3
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7438CD

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

Preview Lab → · Contrast checker → · Palette generator →

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