#7627A2#7627A2

#7627A2 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.3% C 0.189 H 310.1°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#7627A2
RGBrgb(118, 39, 162)
HSLhsl(279, 61%, 39%)
HSVhsv(279, 76%, 64%)
CMYKcmyk(27.2%, 75.9%, 0%, 36.5%)
CIE-LABlab(33.80, 53.85, -51.05)
CIE-LCHlch(33.80, 74.20, 316.53°)
OKLaboklab(45.34% 0.1219 -0.1447)
OKLCHoklch(45.34% 0.189 310.1)
XYZxyz(14.7170, 7.9115, 34.9272)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7627A2 #53A227
analogous
#3927A2 #7627A2 #A22790
triadic
#7627A2 #A27627 #27A276
tetradic
#7627A2 #A23927 #53A227 #2790A2
square
#7627A2 #A23927 #53A227 #2790A2
split-complementary
#7627A2 #90A227 #27A239
monochromatic
#2E0F3F #521B71 #7627A2 #9937CF #B269DB

Accessibility & contrast

On white

8.13
#7627A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7627A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7627A2
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7627A2#FFFFFF#000000##FFFFFF
##7627A21.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#05519F
Tritanopia (blue-blind)
#704463
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7627a2;
/* rgb */ color: rgb(118, 39, 162);
/* oklch */ color: oklch(45.3% 0.189 310.1);
Tailwind
colors: {
  custom: {
    50: '#a26abe',
    500: '#7627a2',
    950: '#000000',
  },
}
SCSS
$custom: #7627a2;
$custom-light: #a26abe;
$custom-dark: #000000;
JSON
{
  "hex": "#7627a2",
  "rgb": {
    "r": 118,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 278.537,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45342,
    "c": 0.18917,
    "h": 310.1
  },
  "luminance": 0.07911
}

Semantic roles & 50–950 ramp

primary
#7627A2
secondary
#85C164
accent
#E4437D
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7627A2

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

Preview Lab → · Contrast checker → · Palette generator →

#7627A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva