#7738CA#7738CA

#7738CA is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.4% C 0.211 H 298.0°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#7738CA
RGBrgb(119, 56, 202)
HSLhsl(266, 58%, 51%)
HSVhsv(266, 72%, 79%)
CMYKcmyk(41.1%, 72.3%, 0%, 20.8%)
CIE-LABlab(39.60, 56.13, -65.28)
CIE-LCHlch(39.60, 86.09, 310.69°)
OKLaboklab(50.44% 0.0993 -0.1866)
OKLCHoklch(50.44% 0.211 298)
XYZxyz(19.6798, 11.0142, 56.9548)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7738CA #8BCA38
analogous
#3842CA #7738CA #C038CA
triadic
#7738CA #CA7738 #38CA77
tetradic
#7738CA #CA3842 #8BCA38 #38CAC0
square
#7738CA #CA3842 #8BCA38 #38CAC0
split-complementary
#7738CA #CAC038 #42CA38
monochromatic
#3E1D6B #5B299B #7738CA #9868D7 #B999E4

Accessibility & contrast

On white

6.56
#7738CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7738CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7738CA
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7738CA#FFFFFF#000000##FFFFFF
##7738CA1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#005CC7
Tritanopia (blue-blind)
#625D7E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7738ca;
/* rgb */ color: rgb(119, 56, 202);
/* oklch */ color: oklch(50.4% 0.211 298.0);
Tailwind
colors: {
  custom: {
    50: '#a574db',
    500: '#7738ca',
    950: '#000000',
  },
}
SCSS
$custom: #7738ca;
$custom-light: #a574db;
$custom-dark: #000000;
JSON
{
  "hex": "#7738ca",
  "rgb": {
    "r": 119,
    "g": 56,
    "b": 202
  },
  "hsl": {
    "h": 265.89,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50442,
    "c": 0.21134,
    "h": 298
  },
  "luminance": 0.11015
}

Semantic roles & 50–950 ramp

primary
#7738CA
secondary
#B3CF8E
accent
#E1479E
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7738CA

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

Preview Lab → · Contrast checker → · Palette generator →

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