#7627B3#7627B3

#7627B3 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.7% C 0.206 H 305.1°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#7627B3
RGBrgb(118, 39, 179)
HSLhsl(274, 64%, 43%)
HSVhsv(274, 78%, 70%)
CMYKcmyk(34.1%, 78.2%, 0%, 29.8%)
CIE-LABlab(35.12, 57.64, -59.09)
CIE-LCHlch(35.12, 82.54, 314.29°)
OKLaboklab(46.68% 0.1181 -0.1683)
OKLCHoklch(46.68% 0.206 305.1)
XYZxyz(16.3316, 8.5574, 43.4304)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7627B3 #64B327
analogous
#3027B3 #7627B3 #B327AA
triadic
#7627B3 #B37627 #27B376
tetradic
#7627B3 #B33027 #64B327 #27AAB3
square
#7627B3 #B33027 #64B327 #27AAB3
split-complementary
#7627B3 #AAB327 #27B330
monochromatic
#34114E #551C81 #7627B3 #9541D6 #B174E1

Accessibility & contrast

On white

7.75
#7627B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7627B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7627B3
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7627B3#FFFFFF#000000##FFFFFF
##7627B31.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#6A4B6D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7627b3;
/* rgb */ color: rgb(118, 39, 179);
/* oklch */ color: oklch(46.7% 0.206 305.1);
Tailwind
colors: {
  custom: {
    50: '#a36bcb',
    500: '#7627b3',
    950: '#000000',
  },
}
SCSS
$custom: #7627b3;
$custom-light: #a36bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#7627b3",
  "rgb": {
    "r": 118,
    "g": 39,
    "b": 179
  },
  "hsl": {
    "h": 273.857,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46683,
    "c": 0.20564,
    "h": 305.1
  },
  "luminance": 0.08557
}

Semantic roles & 50–950 ramp

primary
#7627B3
secondary
#95C86E
accent
#E74189
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7627B3

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

Preview Lab → · Contrast checker → · Palette generator →

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