#7630A2#7630A2

#7630A2 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.3% C 0.178 H 309.2°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#7630A2
RGBrgb(118, 48, 162)
HSLhsl(277, 54%, 41%)
HSVhsv(277, 70%, 64%)
CMYKcmyk(27.2%, 70.4%, 0%, 36.5%)
CIE-LABlab(35.15, 50.01, -48.86)
CIE-LCHlch(35.15, 69.92, 315.67°)
OKLaboklab(46.3% 0.1127 -0.1383)
OKLCHoklch(46.3% 0.178 309.2)
XYZxyz(15.0484, 8.5744, 35.0377)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7630A2 #5CA230
analogous
#3D30A2 #7630A2 #A23095
triadic
#7630A2 #A27630 #30A276
tetradic
#7630A2 #A23D30 #5CA230 #3095A2
square
#7630A2 #A23D30 #5CA230 #3095A2
split-complementary
#7630A2 #95A230 #30A23D
monochromatic
#311444 #542273 #7630A2 #9647C8 #B176D6

Accessibility & contrast

On white

7.74
#7630A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7630A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7630A2
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7630A2#FFFFFF#000000##FFFFFF
##7630A21.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#1954A0
Tritanopia (blue-blind)
#704965
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7630a2;
/* rgb */ color: rgb(118, 48, 162);
/* oklch */ color: oklch(46.3% 0.178 309.2);
Tailwind
colors: {
  custom: {
    50: '#a26ebe',
    500: '#7630a2',
    950: '#000000',
  },
}
SCSS
$custom: #7630a2;
$custom-light: #a26ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#7630a2",
  "rgb": {
    "r": 118,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 276.842,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46303,
    "c": 0.17845,
    "h": 309.2
  },
  "luminance": 0.08574
}

Semantic roles & 50–950 ramp

primary
#7630A2
secondary
#8EBE6F
accent
#DE4A83
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #7630A2

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

Preview Lab → · Contrast checker → · Palette generator →

#7630A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva