#7246BA#7246BA

#7246BA is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.5% C 0.175 H 297.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#7246BA
RGBrgb(114, 70, 186)
HSLhsl(263, 46%, 50%)
HSVhsv(263, 62%, 73%)
CMYKcmyk(38.7%, 62.4%, 0%, 27.1%)
CIE-LABlab(40.41, 43.91, -54.65)
CIE-LCHlch(40.41, 70.11, 308.78°)
OKLaboklab(50.52% 0.0799 -0.1556)
OKLCHoklch(50.52% 0.175 297.2)
XYZxyz(17.9902, 11.5026, 47.7172)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7246BA #8EBA46
analogous
#4654BA #7246BA #AC46BA
triadic
#7246BA #BA7246 #46BA72
tetradic
#7246BA #BA4654 #8EBA46 #46BAAC
square
#7246BA #BA4654 #8EBA46 #46BAAC
split-complementary
#7246BA #BAAC46 #54BA46
monochromatic
#3B2461 #57358E #7246BA #9473CB #B69FDB

Accessibility & contrast

On white

6.36
#7246BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#7246BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7246BA
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7246BA#FFFFFF#000000##FFFFFF
##7246BA1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#095EB7
Tritanopia (blue-blind)
#616079
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7246ba;
/* rgb */ color: rgb(114, 70, 186);
/* oklch */ color: oklch(50.5% 0.175 297.2);
Tailwind
colors: {
  custom: {
    50: '#9f7ccf',
    500: '#7246ba',
    950: '#000000',
  },
}
SCSS
$custom: #7246ba;
$custom-light: #9f7ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#7246ba",
  "rgb": {
    "r": 114,
    "g": 70,
    "b": 186
  },
  "hsl": {
    "h": 262.759,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50518,
    "c": 0.17488,
    "h": 297.2
  },
  "luminance": 0.11503
}

Semantic roles & 50–950 ramp

primary
#7246BA
secondary
#B4C894
accent
#D552A4
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #7246BA

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

Preview Lab → · Contrast checker → · Palette generator →

#7246BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva