#7638C3#7638C3

#7638C3 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.8% C 0.204 H 299.2°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#7638C3
RGBrgb(118, 56, 195)
HSLhsl(267, 55%, 49%)
HSVhsv(267, 71%, 76%)
CMYKcmyk(39.5%, 71.3%, 0%, 23.5%)
CIE-LABlab(38.93, 54.20, -62.30)
CIE-LCHlch(38.93, 82.58, 311.02°)
OKLaboklab(49.77% 0.0992 -0.1779)
OKLCHoklch(49.77% 0.204 299.2)
XYZxyz(18.7332, 10.6198, 52.6820)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7638C3 #85C338
analogous
#383FC3 #7638C3 #BC38C3
triadic
#7638C3 #C37638 #38C376
tetradic
#7638C3 #C3383F #85C338 #38C3BC
square
#7638C3 #C3383F #85C338 #38C3BC
split-complementary
#7638C3 #C3BC38 #3FC338
monochromatic
#3C1D64 #592A93 #7638C3 #9665D3 #B795E1

Accessibility & contrast

On white

6.72
#7638C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7638C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7638C3
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7638C3#FFFFFF#000000##FFFFFF
##7638C31.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC7
Deuteranopia (green-blind)
#005AC0
Tritanopia (blue-blind)
#645A7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7638c3;
/* rgb */ color: rgb(118, 56, 195);
/* oklch */ color: oklch(49.8% 0.204 299.2);
Tailwind
colors: {
  custom: {
    50: '#a474d6',
    500: '#7638c3',
    950: '#000000',
  },
}
SCSS
$custom: #7638c3;
$custom-light: #a474d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7638c3",
  "rgb": {
    "r": 118,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 266.763,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49767,
    "c": 0.20368,
    "h": 299.2
  },
  "luminance": 0.1062
}

Semantic roles & 50–950 ramp

primary
#7638C3
secondary
#AFCC8B
accent
#DF499C
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7638C3

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

Preview Lab → · Contrast checker → · Palette generator →

#7638C3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva