#7627B2#7627B2

#7627B2 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.6% C 0.205 H 305.3°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#7627B2
RGBrgb(118, 39, 178)
HSLhsl(274, 64%, 43%)
HSVhsv(274, 78%, 70%)
CMYKcmyk(33.7%, 78.1%, 0%, 30.2%)
CIE-LABlab(35.04, 57.41, -58.63)
CIE-LCHlch(35.04, 82.05, 314.40°)
OKLaboklab(46.6% 0.1184 -0.167)
OKLCHoklch(46.6% 0.205 305.3)
XYZxyz(16.2308, 8.5171, 42.8997)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7627B2 #63B227
analogous
#3127B2 #7627B2 #B227A8
triadic
#7627B2 #B27627 #27B276
tetradic
#7627B2 #B23127 #63B227 #27A8B2
square
#7627B2 #B23127 #63B227 #27A8B2
split-complementary
#7627B2 #A8B227 #27B231
monochromatic
#33114E #551C80 #7627B2 #9541D5 #B173E0

Accessibility & contrast

On white

7.77
#7627B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7627B2
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7627B2#FFFFFF#000000##FFFFFF
##7627B21.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0053AF
Tritanopia (blue-blind)
#6B4B6C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7627b2;
/* rgb */ color: rgb(118, 39, 178);
/* oklch */ color: oklch(46.6% 0.205 305.3);
Tailwind
colors: {
  custom: {
    50: '#a36aca',
    500: '#7627b2',
    950: '#000000',
  },
}
SCSS
$custom: #7627b2;
$custom-light: #a36aca;
$custom-dark: #000000;
JSON
{
  "hex": "#7627b2",
  "rgb": {
    "r": 118,
    "g": 39,
    "b": 178
  },
  "hsl": {
    "h": 274.101,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46601,
    "c": 0.20467,
    "h": 305.3
  },
  "luminance": 0.08517
}

Semantic roles & 50–950 ramp

primary
#7627B2
secondary
#94C86D
accent
#E74189
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7627B2

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

Preview Lab → · Contrast checker → · Palette generator →

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