#7626AF#7626AF

#7626AF is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.3% C 0.203 H 306.3°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#7626AF
RGBrgb(118, 38, 175)
HSLhsl(275, 64%, 42%)
HSVhsv(275, 78%, 69%)
CMYKcmyk(32.6%, 78.3%, 0%, 31.4%)
CIE-LABlab(34.67, 57.11, -57.44)
CIE-LCHlch(34.67, 81.00, 314.83°)
OKLaboklab(46.27% 0.12 -0.1635)
OKLCHoklch(46.27% 0.203 306.3)
XYZxyz(15.9005, 8.3331, 41.3199)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7626AF #5FAF26
analogous
#3126AF #7626AF #AF26A4
triadic
#7626AF #AF7626 #26AF76
tetradic
#7626AF #AF3126 #5FAF26 #26A4AF
square
#7626AF #AF3126 #5FAF26 #26A4AF
split-complementary
#7626AF #A4AF26 #26AF31
monochromatic
#32104A #541B7D #7626AF #963DD5 #B170E0

Accessibility & contrast

On white

7.88
#7626AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7626AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7626AF
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7626AF#FFFFFF#000000##FFFFFF
##7626AF1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0052AC
Tritanopia (blue-blind)
#6C496A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7626af;
/* rgb */ color: rgb(118, 38, 175);
/* oklch */ color: oklch(46.3% 0.203 306.3);
Tailwind
colors: {
  custom: {
    50: '#a36ac8',
    500: '#7626af',
    950: '#000000',
  },
}
SCSS
$custom: #7626af;
$custom-light: #a36ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#7626af",
  "rgb": {
    "r": 118,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 275.036,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46268,
    "c": 0.20277,
    "h": 306.3
  },
  "luminance": 0.08333
}

Semantic roles & 50–950 ramp

primary
#7626AF
secondary
#91C76A
accent
#E74086
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7626AF

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

Preview Lab → · Contrast checker → · Palette generator →

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