#7246BF#7246BF

#7246BF is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.9% C 0.181 H 296.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#7246BF
RGBrgb(114, 70, 191)
HSLhsl(262, 49%, 51%)
HSVhsv(262, 63%, 75%)
CMYKcmyk(40.3%, 63.4%, 0%, 25.1%)
CIE-LABlab(40.77, 45.25, -57.01)
CIE-LCHlch(40.77, 72.78, 308.44°)
OKLaboklab(50.89% 0.0795 -0.1625)
OKLCHoklch(50.89% 0.181 296.1)
XYZxyz(18.5311, 11.7189, 50.5658)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7246BF #93BF46
analogous
#4656BF #7246BF #AE46BF
triadic
#7246BF #BF7246 #46BF72
tetradic
#7246BF #BF4656 #93BF46 #46BFAE
square
#7246BF #BF4656 #93BF46 #46BFAE
split-complementary
#7246BF #BFAE46 #56BF46
monochromatic
#3C2467 #573394 #7246BF #9573CF #B7A1DE

Accessibility & contrast

On white

6.28
#7246BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7246BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7246BF
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7246BF#FFFFFF#000000##FFFFFF
##7246BF1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#5F617C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7246bf;
/* rgb */ color: rgb(114, 70, 191);
/* oklch */ color: oklch(50.9% 0.181 296.1);
Tailwind
colors: {
  custom: {
    50: '#a07cd3',
    500: '#7246bf',
    950: '#000000',
  },
}
SCSS
$custom: #7246bf;
$custom-light: #a07cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7246bf",
  "rgb": {
    "r": 114,
    "g": 70,
    "b": 191
  },
  "hsl": {
    "h": 261.818,
    "s": 48.594,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50885,
    "c": 0.18091,
    "h": 296.1
  },
  "luminance": 0.11719
}

Semantic roles & 50–950 ramp

primary
#7246BF
secondary
#B8CB96
accent
#D850A7
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #7246BF

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

Preview Lab → · Contrast checker → · Palette generator →

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