#7630B8#7630B8

#7630B8 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.0% C 0.201 H 302.8°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#7630B8
RGBrgb(118, 48, 184)
HSLhsl(271, 59%, 45%)
HSVhsv(271, 74%, 72%)
CMYKcmyk(35.9%, 73.9%, 0%, 27.8%)
CIE-LABlab(36.79, 55.14, -59.32)
CIE-LCHlch(36.79, 80.99, 312.91°)
OKLaboklab(47.98% 0.109 -0.1691)
OKLCHoklch(47.98% 0.201 302.8)
XYZxyz(17.1779, 9.4261, 46.2525)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7630B8 #72B830
analogous
#3230B8 #7630B8 #B830B6
triadic
#7630B8 #B87630 #30B876
tetradic
#7630B8 #B83230 #72B830 #30B6B8
square
#7630B8 #B83230 #72B830 #30B6B8
split-complementary
#7630B8 #B6B830 #30B832
monochromatic
#381757 #572387 #7630B8 #9453D2 #B384DF

Accessibility & contrast

On white

7.28
#7630B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7630B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7630B8
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7630B8#FFFFFF#000000##FFFFFF
##7630B81.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#685272
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7630b8;
/* rgb */ color: rgb(118, 48, 184);
/* oklch */ color: oklch(48.0% 0.201 302.8);
Tailwind
colors: {
  custom: {
    50: '#a36fce',
    500: '#7630b8',
    950: '#000000',
  },
}
SCSS
$custom: #7630b8;
$custom-light: #a36fce;
$custom-dark: #000000;
JSON
{
  "hex": "#7630b8",
  "rgb": {
    "r": 118,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 270.882,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47984,
    "c": 0.20119,
    "h": 302.8
  },
  "luminance": 0.09426
}

Semantic roles & 50–950 ramp

primary
#7630B8
secondary
#A1C87C
accent
#E24692
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7630B8

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

Preview Lab → · Contrast checker → · Palette generator →

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