#7627B1#7627B1

#7627B1 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.5% C 0.204 H 305.6°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#7627B1
RGBrgb(118, 39, 177)
HSLhsl(274, 64%, 42%)
HSVhsv(274, 78%, 69%)
CMYKcmyk(33.3%, 78%, 0%, 30.6%)
CIE-LABlab(34.96, 57.18, -58.16)
CIE-LCHlch(34.96, 81.56, 314.52°)
OKLaboklab(46.52% 0.1186 -0.1656)
OKLCHoklch(46.52% 0.204 305.6)
XYZxyz(16.1308, 8.4770, 42.3729)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7627B1 #62B127
analogous
#3127B1 #7627B1 #B127A7
triadic
#7627B1 #B17627 #27B176
tetradic
#7627B1 #B13127 #62B127 #27A7B1
square
#7627B1 #B13127 #62B127 #27A7B1
split-complementary
#7627B1 #A7B127 #27B131
monochromatic
#33114D #551C7F #7627B1 #9540D5 #B172E0

Accessibility & contrast

On white

7.79
#7627B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7627B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7627B1
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7627B1#FFFFFF#000000##FFFFFF
##7627B11.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B5
Deuteranopia (green-blind)
#0052AE
Tritanopia (blue-blind)
#6B4B6C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7627b1;
/* rgb */ color: rgb(118, 39, 177);
/* oklch */ color: oklch(46.5% 0.204 305.6);
Tailwind
colors: {
  custom: {
    50: '#a36ac9',
    500: '#7627b1',
    950: '#000000',
  },
}
SCSS
$custom: #7627b1;
$custom-light: #a36ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#7627b1",
  "rgb": {
    "r": 118,
    "g": 39,
    "b": 177
  },
  "hsl": {
    "h": 274.348,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4652,
    "c": 0.20371,
    "h": 305.6
  },
  "luminance": 0.08477
}

Semantic roles & 50–950 ramp

primary
#7627B1
secondary
#93C76D
accent
#E74188
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7627B1

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

Preview Lab → · Contrast checker → · Palette generator →

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