#7438CA#7438CA

#7438CA is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.1% C 0.211 H 296.8°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#7438CA
RGBrgb(116, 56, 202)
HSLhsl(265, 58%, 51%)
HSVhsv(265, 72%, 79%)
CMYKcmyk(42.6%, 72.3%, 0%, 20.8%)
CIE-LABlab(39.25, 55.61, -65.87)
CIE-LCHlch(39.25, 86.20, 310.17°)
OKLaboklab(50.11% 0.095 -0.1884)
OKLCHoklch(50.11% 0.211 296.8)
XYZxyz(19.2745, 10.8052, 56.9358)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7438CA #8ECA38
analogous
#3845CA #7438CA #BD38CA
triadic
#7438CA #CA7438 #38CA74
tetradic
#7438CA #CA3845 #8ECA38 #38CABD
square
#7438CA #CA3845 #8ECA38 #38CABD
split-complementary
#7438CA #CABD38 #45CA38
monochromatic
#3D1D6B #58299B #7438CA #9668D7 #B899E4

Accessibility & contrast

On white

6.64
#7438CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7438CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7438CA
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7438CA#FFFFFF#000000##FFFFFF
##7438CA1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#005BC7
Tritanopia (blue-blind)
#5D5D7E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7438ca;
/* rgb */ color: rgb(116, 56, 202);
/* oklch */ color: oklch(50.1% 0.211 296.8);
Tailwind
colors: {
  custom: {
    50: '#a374db',
    500: '#7438ca',
    950: '#000000',
  },
}
SCSS
$custom: #7438ca;
$custom-light: #a374db;
$custom-dark: #000000;
JSON
{
  "hex": "#7438ca",
  "rgb": {
    "r": 116,
    "g": 56,
    "b": 202
  },
  "hsl": {
    "h": 264.658,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50112,
    "c": 0.21102,
    "h": 296.8
  },
  "luminance": 0.10806
}

Semantic roles & 50–950 ramp

primary
#7438CA
secondary
#B5CF8E
accent
#E147A2
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7438CA

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

Preview Lab → · Contrast checker → · Palette generator →

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