#7638AA#7638AA

#7638AA is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.9% C 0.176 H 305.7°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#7638AA
RGBrgb(118, 56, 170)
HSLhsl(273, 50%, 44%)
HSVhsv(273, 67%, 67%)
CMYKcmyk(30.6%, 67.1%, 0%, 33.3%)
CIE-LABlab(37.08, 48.08, -50.54)
CIE-LCHlch(37.08, 69.75, 313.57°)
OKLaboklab(47.86% 0.1029 -0.1433)
OKLCHoklch(47.86% 0.176 305.7)
XYZxyz(16.1395, 9.5823, 39.0217)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7638AA #6CAA38
analogous
#3D38AA #7638AA #AA38A5
triadic
#7638AA #AA7638 #38AA76
tetradic
#7638AA #AA3D38 #6CAA38 #38A5AA
square
#7638AA #AA3D38 #6CAA38 #38A5AA
split-complementary
#7638AA #A5AA38 #38AA3D
monochromatic
#361A4E #56297C #7638AA #9557C8 #B285D7

Accessibility & contrast

On white

7.20
#7638AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#7638AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7638AA#FFFFFF#000000##FFFFFF
##7638AA1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#1857A8
Tritanopia (blue-blind)
#6D516C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7638aa;
/* rgb */ color: rgb(118, 56, 170);
/* oklch */ color: oklch(47.9% 0.176 305.7);
Tailwind
colors: {
  custom: {
    50: '#a273c4',
    500: '#7638aa',
    950: '#000000',
  },
}
SCSS
$custom: #7638aa;
$custom-light: #a273c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7638aa",
  "rgb": {
    "r": 118,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 272.632,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47864,
    "c": 0.17643,
    "h": 305.7
  },
  "luminance": 0.09582
}

Semantic roles & 50–950 ramp

primary
#7638AA
secondary
#9CC17D
accent
#DA4E8E
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7638AA

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

Preview Lab → · Contrast checker → · Palette generator →

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