#7627AF#7627AF

#7627AF is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.4% C 0.202 H 306.2°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#7627AF
RGBrgb(118, 39, 175)
HSLhsl(275, 64%, 42%)
HSVhsv(275, 78%, 69%)
CMYKcmyk(32.6%, 77.7%, 0%, 31.4%)
CIE-LABlab(34.80, 56.73, -57.23)
CIE-LCHlch(34.80, 80.58, 314.75°)
OKLaboklab(46.36% 0.1191 -0.1629)
OKLCHoklch(46.36% 0.202 306.2)
XYZxyz(15.9329, 8.3979, 41.3307)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7627AF #60AF27
analogous
#3227AF #7627AF #AF27A4
triadic
#7627AF #AF7627 #27AF76
tetradic
#7627AF #AF3227 #60AF27 #27A4AF
square
#7627AF #AF3227 #60AF27 #27A4AF
split-complementary
#7627AF #A4AF27 #27AF32
monochromatic
#33114B #541C7D #7627AF #963FD4 #B171DF

Accessibility & contrast

On white

7.84
#7627AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7627AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7627AF
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7627AF#FFFFFF#000000##FFFFFF
##7627AF1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0052AC
Tritanopia (blue-blind)
#6C4A6A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7627af;
/* rgb */ color: rgb(118, 39, 175);
/* oklch */ color: oklch(46.4% 0.202 306.2);
Tailwind
colors: {
  custom: {
    50: '#a36ac8',
    500: '#7627af',
    950: '#000000',
  },
}
SCSS
$custom: #7627af;
$custom-light: #a36ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#7627af",
  "rgb": {
    "r": 118,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 274.853,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46359,
    "c": 0.20177,
    "h": 306.2
  },
  "luminance": 0.08398
}

Semantic roles & 50–950 ramp

primary
#7627AF
secondary
#92C66B
accent
#E74187
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7627AF

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

Preview Lab → · Contrast checker → · Palette generator →

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